Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to read the request headers in web::http::http_request #1525
Comments
For example you can iterate over all headers in a response object this way:
|
I want to read request headers when handling a HTTP requests. |
It's the same, e.g.
|
The class allows me to set HTTP response headers via
headers()
, but I would like to read the request headers. How can I do that?