Title: Attempting to download .json file parses file as JSON. · Issue #25 · smartfile/client-python · GitHub
Open Graph Title: Attempting to download .json file parses file as JSON. · Issue #25 · smartfile/client-python
X Title: Attempting to download .json file parses file as JSON. · Issue #25 · smartfile/client-python
Description: If you attempt to download a .json file, the library instead parses the JSON content of the file. This is because parsing is triggered by the Content-Type header, which is set to application/json according to the file type being download...
Open Graph Description: If you attempt to download a .json file, the library instead parses the JSON content of the file. This is because parsing is triggered by the Content-Type header, which is set to application/json a...
X Description: If you attempt to download a .json file, the library instead parses the JSON content of the file. This is because parsing is triggered by the Content-Type header, which is set to application/json a...
Opengraph URL: https://github.com/smartfile/client-python/issues/25
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Attempting to download .json file parses file as JSON.","articleBody":"If you attempt to download a .json file, the library instead parses the JSON content of the file. This is because parsing is triggered by the `Content-Type` header, which is set to `application/json` according to the file type being downloaded.\r\n\r\nDownloading should disable the automatic parsing of JSON, or the library should return a response and allow the caller to parse JSON if that is desired.","author":{"url":"https://github.com/btimby","@type":"Person","name":"btimby"},"datePublished":"2020-06-05T20:38:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25/client-python/issues/25"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b57751bf-1ffe-4dbf-9402-051897c1dc5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAF8:32D418:1D99C54:29A2695:6982314D |
| html-safe-nonce | bc4a26b2e94f75b85e5ec7a433dbfd39971b4c0593e9c00e0e7b50514f273eec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUY4OjMyRDQxODoxRDk5QzU0OjI5QTI2OTU6Njk4MjMxNEQiLCJ2aXNpdG9yX2lkIjoiNjgxNjExNzQ3NzA5MzgxNDYwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | abf1935684f8673863c8cb3983ab3f4c2ee1ab809a02022ef92456e112f9ac4c |
| hovercard-subject-tag | issue:631939086 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/smartfile/client-python/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d944d5a0922872665da60ad1409669253f65815692878ac8062e1cffcf0a6c38/smartfile/client-python/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d944d5a0922872665da60ad1409669253f65815692878ac8062e1cffcf0a6c38/smartfile/client-python/issues/25 |
| og:image:alt | If you attempt to download a .json file, the library instead parses the JSON content of the file. This is because parsing is triggered by the Content-Type header, which is set to application/json a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | btimby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9200c22eadc77fb46da7f3065c3f5dbd68119fe90366eb8f2cba5dcd703a9791 |
| turbo-cache-control | no-preview |
| go-import | github.com/smartfile/client-python git https://github.com/smartfile/client-python.git |
| octolytics-dimension-user_id | 2232208 |
| octolytics-dimension-user_login | smartfile |
| octolytics-dimension-repository_id | 3063735 |
| octolytics-dimension-repository_nwo | smartfile/client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3063735 |
| octolytics-dimension-repository_network_root_nwo | smartfile/client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e610a56e0569bf596eb9af47b60c456c2b4a965e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width