Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpbin: add /headers Return the incoming request's HTTP headers #384

Closed
mmatczuk opened this issue Sep 4, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@mmatczuk
Copy link
Contributor

mmatczuk commented Sep 4, 2023

https://httpbin.org/#/Request_inspection/get_headers

With that TestProxyUpstream can use header value.

@mmatczuk mmatczuk added this to the v1.1 milestone Sep 4, 2023
@mmatczuk
Copy link
Contributor Author

mmatczuk commented Sep 4, 2023

Note that we have implemented /header/key/value that is not part of the spec and moves the assertion responsibility to the httpbin. Which is odd. It would be good to fix it at some point.

Choraden added a commit that referenced this issue Sep 4, 2023
The endpoint returns the incoming request's HTTTP headers. Same as `httpbin.org/headers` [1].

[1] https://httpbin.org/#/Request_inspection/get_headers

Fixes #384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants