diff options
author | Loïc Hoguin <[email protected]> | 2011-05-04 12:05:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-05-04 12:52:13 +0200 |
commit | 6c1f73c53c9260d99f71676b400a27f0a853f584 (patch) | |
tree | 5d3ca05904b9f65647a24e8d17e6856583fb8fbc /AUTHORS | |
parent | cc663df5db916b4f4da532d765fc2d6b5b60933c (diff) | |
download | cowboy-6c1f73c53c9260d99f71676b400a27f0a853f584.tar.gz cowboy-6c1f73c53c9260d99f71676b400a27f0a853f584.tar.bz2 cowboy-6c1f73c53c9260d99f71676b400a27f0a853f584.zip |
Add cowboy_http_req:port/1.
Returns the port given in the Host header if present,
otherwise the default port of 443 for HTTPS and 80 for HTTP
is returned.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions