-
Notifications
You must be signed in to change notification settings - Fork 2.8k
forward cookie headers from remote servers (fix #1654) #2305
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
forward cookie headers from remote servers (fix #1654) #2305
Conversation
…eaders Resolve Conflicts: docs/graphql/manual/remote-schemas/index.rst server/src-lib/Hasura/GraphQL/Transport/HTTP.hs server/src-lib/Hasura/GraphQL/Transport/WebSocket.hs server/src-lib/Hasura/Server/App.hs server/src-lib/Hasura/Server/Auth.hs server/src-lib/Hasura/Server/Utils.hs server/tests-py/graphql_server.py
|
Deploy preview for hasura-docs ready! Built with commit 037269f |
|
Review app for commit d597036 deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app for commit 2905435 deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app for commit 626c222 deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app for commit 098410a deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app for commit 59cd120 deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app for commit 037269f deployed to Heroku: https://hge-ci-pull-2305.herokuapp.com |
|
Review app https://hge-ci-pull-2305.herokuapp.com is deleted |
Description
Forward only
Set-Cookieheader received from remote schema servers, to client.Note: This won't send back any remote response headers when the websocket transport is used.
Affected components
Related Issues
#1654
Solution and Design
Introduced new data type
HttpResponsewhich encapsulates headers and some response body. Changed corresponding handlers. It only sendsSet-Cookieheader from remote.Steps to test and verify
Set-CookieheaderLimitations, known bugs & workarounds