aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_http2.erl')
-rw-r--r--src/cowboy_http2.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cowboy_http2.erl b/src/cowboy_http2.erl
index af2dcc8..94581ac 100644
--- a/src/cowboy_http2.erl
+++ b/src/cowboy_http2.erl
@@ -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,