Urdl C++ Library - Urdl is a cross-platform C++ library for downloading web content using a URL. It provides an easy-to-use extension to standard C++ iostreams and an asynchronous interface for use with Boost.Asio.
This PR adds request_headers option, which allow users to send arbitrary HTTP headers.
The option can override all HTTP headers generated by other options or urdl core, such as "Host", "Content-Length" or "User-Agent".
This PR adds
request_headers
option, which allow users to send arbitrary HTTP headers. The option can override all HTTP headers generated by other options or urdl core, such as "Host", "Content-Length" or "User-Agent".Usage:
This would satisfy Issue #1 .