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

Send a header to the back end identifying that Shunter has proxied the request #86

Closed
rowanmanning opened this issue Nov 23, 2015 · 2 comments
Assignees

Comments

@rowanmanning
Copy link
Contributor

Currently Shunter sends a timestamp in the shunter request parameter, it would be good to also add a header to the proxied request to identify that Shunter has proxied the request – we've come across a scenario where sometimes the back end is accessed directly, and needs to change behaviour based on whether the request came through Shunter.

I'm thinking we could maybe expose the Shunter version or something as well, which might be useful for debugging. Something like:

X-Shunter: 3.0.2
@moddular
Copy link
Contributor

Sounds good to me.

@andrewmee
Copy link
Contributor

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

No branches or pull requests

3 participants