aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gun.erl b/src/gun.erl
index 82f658d..eeaaa1e 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -309,8 +309,8 @@ await(ServerPid, StreamRef, Timeout, MRef) ->
{response, IsFin, Status, Headers};
{gun_data, ServerPid, StreamRef, IsFin, Data} ->
{data, IsFin, Data};
- {gun_push, ServerPid, StreamRef, NewStreamRef, Method, Host, Path, Headers} ->
- {push, NewStreamRef, Method, Host, Path, Headers};
+ {gun_push, ServerPid, StreamRef, NewStreamRef, Method, URI, Headers} ->
+ {push, NewStreamRef, Method, URI, Headers};
{gun_error, ServerPid, StreamRef, Reason} ->
{error, Reason};
{gun_error, ServerPid, Reason} ->