-
Notifications
You must be signed in to change notification settings - Fork 2.8k
add few x-forwarded- headers (close #2572) #3347
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
add few x-forwarded- headers (close #2572) #3347
Conversation
|
Deploy preview for hasura-docs ready! Built with commit 37f6791 |
|
Review app for commit 08e7ed0 deployed to Heroku: https://hge-ci-pull-3347.herokuapp.com |
|
@tirumaraiselvan The tests you just pushed seem to be failing. |
|
Bit of a conundrum. The server in CI seems to be running in localhost:8081. |
|
@lexi-lambda I am thinking of dropping the test for |
|
Ah, yeah, the tests in CI spin up two instances of |
|
We can get the host:port in pytest but the expected value will then somehow will have to be fed to the graphql_server.py (which so far was independent server). Worth the fight? |
|
Ah, I see, right of course. I think it’s probably worth doing— |
c425c76 to
b787bbe
Compare
|
Review app for commit b787bbe deployed to Heroku: https://hge-ci-pull-3347.herokuapp.com |
This reverts commit b787bbe.
|
Review app for commit 1d70c47 deployed to Heroku: https://hge-ci-pull-3347.herokuapp.com |
|
Wow awkwardly stumbled on fixing this till I realized that there was only one pytest session but parallelized internally. |
1d70c47 to
37f6791
Compare
|
Review app for commit 37f6791 deployed to Heroku: https://hge-ci-pull-3347.herokuapp.com |
|
Review app https://hge-ci-pull-3347.herokuapp.com is deleted |
Description
Adds
X-Forwarded-HostandX-Forwarded-User-Agentheaders to the remote schema requests.Affected components
Related Issues
#2572
Solution and Design
Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
GraphQL
Breaking changes
Steps to test and verify
Limitations, known bugs & workarounds
This PR does not forward other headers like
X-Forwarded-Forwhich is more complicated.