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

Use default port when not given in :authority

This commit is contained in:
Loïc Hoguin 2018-05-16 10:42:25 +02:00
parent 93e8744e22
commit d732e74dd5
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
3 changed files with 13 additions and 2 deletions

View file

@ -110,7 +110,7 @@
method => binary(),
scheme => binary(),
host => binary(),
port => binary(),
port => inet:port_number(),
qs => binary()
}.
-export_type([push_opts/0]).