aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 7b5cc5b..d8fe70d 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -110,7 +110,7 @@
method => binary(),
scheme => binary(),
host => binary(),
- port => binary(),
+ port => inet:port_number(),
qs => binary()
}.
-export_type([push_opts/0]).