Commit a4afeaa8 authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

Use QUrl::toString() when forming the 'Host' header


This allows to correctly use IPv6 literals and also
deals (correctly) with a port (if it's set at all).

Task-number: QTBUG-68245
Change-Id: I6d29543887c4ab58d70f0970a6f0a1b822c301df
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
Reviewed-by: default avatarMårten Nordheim <marten.nordheim@qt.io>
parent ba7881a0
Branches
Tags
No related merge requests found
Showing with 12 additions and 10 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment