Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

how can I iterate over the available request headers? #25

Open
nikhedonia opened this issue Aug 16, 2017 · 1 comment
Open

how can I iterate over the available request headers? #25

nikhedonia opened this issue Aug 16, 2017 · 1 comment

Comments

@nikhedonia
Copy link

As far as I can see the only way to access headers is via request::headers(std::string key).
It would be nice to have a list of available keys.

It would sufficient to expose the const-iterators of request::header_list.
Shall I make a PR ?

@Jeffail
Copy link
Contributor

Jeffail commented Aug 16, 2017

Hey @nikhedonia. Sounds good, would be happy to take a pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants