aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Enestad <[email protected]>2019-01-22 17:44:51 +0100
committerLoïc Hoguin <[email protected]>2019-03-26 15:35:58 +0100
commit860719db3bf89aeba074c06ebb0a076051d6ab98 (patch)
tree5162b32d0c2c8ae6e964fc8bc5918661099f1325
parent853efc34baeea50a814bdc57f2e40cb6cd28ec2a (diff)
downloadcowlib-860719db3bf89aeba074c06ebb0a076051d6ab98.tar.gz
cowlib-860719db3bf89aeba074c06ebb0a076051d6ab98.tar.bz2
cowlib-860719db3bf89aeba074c06ebb0a076051d6ab98.zip
:authority is not required by spec2.7.1
-rw-r--r--src/cow_http2_machine.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cow_http2_machine.erl b/src/cow_http2_machine.erl
index 49c3eb9..ee34e75 100644
--- a/src/cow_http2_machine.erl
+++ b/src/cow_http2_machine.erl
@@ -551,7 +551,7 @@ headers_pseudo_headers(Frame, State=#http2_machine{local_settings=LocalSettings}
headers_malformed(Frame, State,
'CONNECT requests only use the :method and :authority pseudo-headers. (RFC7540 8.3)');
%% Other requests.
- {ok, PseudoHeaders=#{method := _, scheme := _, authority := _, path := _}, Headers} ->
+ {ok, PseudoHeaders=#{method := _, scheme := _, path := _}, Headers} ->
headers_regular_headers(Frame, State, Type, Stream, PseudoHeaders, Headers);
{ok, _, _} ->
headers_malformed(Frame, State,