commit | 16fdc55f7987797b196c2edac34628bbf61bccc4 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Oct 08 14:56:58 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Oct 09 11:05:31 2019 +0200 |
tree | b9d25b9025b06e6a00324b5715b0ab56fbe4fa56 | |
parent | 9a67c293b9477b6bdac0e62278a70d444dc7f074 [diff] |
MINOR: http: Add a function to get the authority into a URI The function http_get_authority() may be used to parse a URI and looks for the authority, between the scheme and the path. An option may be used to skip the user info (part before the '@'). Most of time, the user info will be ignored.