File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -759,6 +759,12 @@ defmodule Mint.HTTP do
759759 You can have zero or more `1xx` `:status` and `:headers` responses for a
760760 single request, but they all precede a single non-`1xx` `:status` response.
761761
762+ * `{:status_reason, request_ref, reason_phrase}` - returned when the server replied
763+ with a response status code and a reason-phrase. The reason-phrase is a string.
764+ Returned when the `:optional_responses` option is passed to `connect/4`, with
765+ `:status_reason` in the list. See `Mint.HTTP1.connect/4` for more information.
766+ This is only available for HTTP/1.1 connections. *Available since v1.7.2*.
767+
762768 * `{:headers, request_ref, headers}` - returned when the server replied
763769 with a list of headers. Headers are in the form `{header_name, header_value}`
764770 with `header_name` and `header_value` being strings. A single `:headers` response
You can’t perform that action at this time.
0 commit comments