diff options
author | Loïc Hoguin <[email protected]> | 2014-12-29 17:21:16 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-12-29 17:24:04 +0100 |
commit | 1c732125bfd12fb3a25997f93cdf9e418666bddb (patch) | |
tree | 08bdd4c839aef37e52181d9ca615d69da894e83a /test | |
parent | 779f4ad51c665092b1da5c8028dad6d62a5f76f0 (diff) | |
download | cowlib-1c732125bfd12fb3a25997f93cdf9e418666bddb.tar.gz cowlib-1c732125bfd12fb3a25997f93cdf9e418666bddb.tar.bz2 cowlib-1c732125bfd12fb3a25997f93cdf9e418666bddb.zip |
Add cow_http_hd:parse_host/1, remove cow_http:parse_fullhost/1
From RFC7230 and RFC3986.
The new function now validates that the characters are correct,
but does not go as far as validate segment sizes or number of
segments. Its main purpose is still to split host and port.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions