Skip to content

Iterate through request headers #1155

Answered by ghost
mfallavol asked this question in Q&A
Dec 31, 2020 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

HttpRequest implements an iterator, so you can just do for (auto header : req)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@mfallavol
Comment options

Comment options

You must be logged in to vote
3 replies
@mfallavol
Comment options

@ghost
Comment options

@mfallavol
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants