summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-luaneightbl
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-12-11 08:57:36 +0100
committerJo-Philipp Wich <jo@mein.io>2018-12-11 09:12:32 +0100
commita54baf7be0d293b50c6b2754c11d61e6e2ad82af (patch)
tree8a3a800f4a05cce3fc4e249ea8d324f927cba163 /libs/luci-lib-luaneightbl
parentb94be57affcbb8eeb7f2f6a3561ebeccaa40cf6f (diff)
luci-lib-httpclient: revamp URL handling
- Introduce a parse_url() helper which properly deals with literal IPv4 and IPv6 host parts and returns the decomposed uri string as table - Properly format IPv6 literals in autogenerated Host headers - Omit default port numbers in Host headers and calculated redirect URLs. Supersedes PR #2337. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-luaneightbl')
0 files changed, 0 insertions, 0 deletions