-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
read_json from url, Accept Header? #10526
Labels
Enhancement
IO JSON
read_json, to_json, json_normalize
IO Network
Local or Cloud (AWS, GCS, etc.) IO Issues
Comments
Hi, I have the same need for Regards |
+1 |
It's more than that. There should be full support for header , data and verity
The |
would be great if |
close in favor of #36688 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Enhancement
IO JSON
read_json, to_json, json_normalize
IO Network
Local or Cloud (AWS, GCS, etc.) IO Issues
Today I tried to read json data from an url that checks the Accept-Header for 'application/json',
and only delivers json if this tag is higher ranked than 'text/html'.
See: Flask: Handling Accept Headers
It seems, that the pandas request in '_url_open' has no such header at all.
This works:
This does not, and I checked the header in the flask webapp of the received request, it is empty:
It would make sense if the
read_json
hadapplication/json
in its Accept-Header, correct?The text was updated successfully, but these errors were encountered: