-
Notifications
You must be signed in to change notification settings - Fork 192
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
Fixes #590 - Fix conditional proxy requests #608
Conversation
Which will be merged with the AUTH_HEADERS and sent to github.
This allows us to send conditional GET requests based on eTag in the case of un-authed requests.
Oops, Travis didn't like that at all. |
ok let see. Starting the code.
Without being logged.
This is working well for Digging a bit further, and trying to print the before_request headers: the HTML. not ok
The JSON. OK
For the purpose of #590 this is indeed solving the proxy_request. And the server is indeed not sending any information for caching such as ETAG. I guess the issue is here for
We need to fix the HTML. On the server itself, we have the same story. Checking the HTTP headers, the server is sending:
Thinking… What I propose Let's close this one and merge because it actually solves the JSON part. And let's see if we can improve the HTML side. OK? |
Fixes #590 - Fix conditional proxy requests for JSON
Sounds good @karlcow -- thanks for checking in-depth. :) |
r? @karlcow