0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

HTTP/2: Separate path and query components

This commit is contained in:
Loïc Hoguin 2016-06-06 17:28:56 +02:00
parent 8e9196215d
commit 725bdb9774

View file

@ -483,8 +483,7 @@ stream_init(State0=#state{ref=Ref, socket=Socket, transport=Transport, decode_st
Host = Authority, %% @todo
Port = todo, %% @todo
Path = PathWithQs, %% @todo
Qs = todo, %% @todo
{Path, Qs} = cow_http:parse_fullpath(PathWithQs),
Req = #{
ref => Ref,