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

document show_env parameter #513

Open
georgexsh opened this issue Sep 21, 2018 · 4 comments
Open

document show_env parameter #513

georgexsh opened this issue Sep 21, 2018 · 4 comments

Comments

@georgexsh
Copy link
Contributor

I cannt found documention of the show_env parameter from https://httpbin.org/.

despite the default behavior of httpbin is very odd, it hides many HTTP headers which are very important to some user, like me, a sysadmin, this behavior and the method to flip it, needs documentation.

@LaikaN57
Copy link

LaikaN57 commented Feb 9, 2023

nateprewitt commented on Oct 23, 2018
Thanks @georgexsh! This was added by Kenneth as part of his setup routine, I'll defer to him on whether it persists going forward.

@kennethreitz Can we discuss this? I would love to get your initial thoughts as to removal or officially documenting this.

My Context
We just got hit by this when investigating some issues with XFF in a k8s/istio environment. It diverted a couple hundred hours of dev time for us. (Not trying to blame, just want to show scale/impact.)

@kennethreitz
Copy link
Contributor

kennethreitz commented Feb 9, 2023 via email

@LaikaN57
Copy link

LaikaN57 commented Feb 9, 2023

Sorry, maybe I was not clear. I would ideally like to invert the default behavior and get back all the headers that my application is seeing. As my application may depend on something like XFF and I would like to see what values it is receiving when using the same infra but swapping out my app for httpbin. In my use-case we are using it more for a infra/platform debug tool.

@kennethreitz
Copy link
Contributor

kennethreitz commented Feb 9, 2023 via email

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

3 participants