antoniop
committed
on 05 Jul
Introduce util::complete_location

This utility is meant to require the value of the Location header in an HTTP response to be completed vit… Show more
Introduce util::complete_location

This utility is meant to require the value of the Location header in an HTTP response to be completed vith the host coming from a reference complete URL, which is normally that of the redirected request.

It is intended for use in the context of HTTP client APIs, where we want to handle server responses affected by https://www.rfc-editor.org/rfc/rfc7231#section-7.1.2

Show less