Title: Raise HTTPError in send_request function so client can better handle the error · Issue #148 · datacommonsorg/api-python · GitHub
Open Graph Title: Raise HTTPError in send_request function so client can better handle the error · Issue #148 · datacommonsorg/api-python
X Title: Raise HTTPError in send_request function so client can better handle the error · Issue #148 · datacommonsorg/api-python
Description: Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument error or data error. [1] https://github.com/datacommon...
Open Graph Description: Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument error or data ...
X Description: Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument error or d...
Opengraph URL: https://github.com/datacommonsorg/api-python/issues/148
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raise HTTPError in send_request function so client can better handle the error","articleBody":"Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument error or data error.\r\n\r\n[1] https://github.com/datacommonsorg/api-python/blob/master/datacommons/utils.py#L113","author":{"url":"https://github.com/shifucun","@type":"Person","name":"shifucun"},"datePublished":"2020-08-24T23:48:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/148/api-python/issues/148"}
| 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:d879b919-b082-8a89-76d8-5af3e446878a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB24:1831EB:6E5CD8B:967D1AF:697877F3 |
| html-safe-nonce | c378f4d59785f5b1321b1a0bc16d209b327b7a971d5494717a27f6e99b9b3da9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjI0OjE4MzFFQjo2RTVDRDhCOjk2N0QxQUY6Njk3ODc3RjMiLCJ2aXNpdG9yX2lkIjoiNzE4ODg0NzM3MDUzODg3NDg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 007d70d0d5bd447de4e67681b16ecc3b5a0d27eb1174c0b389c2cb5c2fd200c7 |
| hovercard-subject-tag | issue:685055565 |
| 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/datacommonsorg/api-python/148/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2771b39f0cc8acde31b899a00538a24aa7f341dae9ddbdf15e5921c95ec4d485/datacommonsorg/api-python/issues/148 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2771b39f0cc8acde31b899a00538a24aa7f341dae9ddbdf15e5921c95ec4d485/datacommonsorg/api-python/issues/148 |
| og:image:alt | Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument error or data ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shifucun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/datacommonsorg/api-python git https://github.com/datacommonsorg/api-python.git |
| octolytics-dimension-user_id | 52017486 |
| octolytics-dimension-user_login | datacommonsorg |
| octolytics-dimension-repository_id | 150300890 |
| octolytics-dimension-repository_nwo | datacommonsorg/api-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 150300890 |
| octolytics-dimension-repository_network_root_nwo | datacommonsorg/api-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 | 520b65a872113b919c1bbdb03834a50af15859fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width