Title: protorpc rewrites all 40x errors to 400 · Issue #138 · cloudendpoints/endpoints-python · GitHub
Open Graph Title: protorpc rewrites all 40x errors to 400 · Issue #138 · cloudendpoints/endpoints-python
X Title: protorpc rewrites all 40x errors to 400 · Issue #138 · cloudendpoints/endpoints-python
Description: Raising an exception such as endpoints.api_exceptions.NotFoundException ought to result in an error with http status code 404, but protorpc detects it as a subclass of protorpc.remote.ApplicationError and sends 400 instead.
Open Graph Description: Raising an exception such as endpoints.api_exceptions.NotFoundException ought to result in an error with http status code 404, but protorpc detects it as a subclass of protorpc.remote.ApplicationEr...
X Description: Raising an exception such as endpoints.api_exceptions.NotFoundException ought to result in an error with http status code 404, but protorpc detects it as a subclass of protorpc.remote.ApplicationEr...
Opengraph URL: https://github.com/cloudendpoints/endpoints-python/issues/138
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"protorpc rewrites all 40x errors to 400","articleBody":"Raising an exception such as `endpoints.api_exceptions.NotFoundException` ought to result in an error with http status code 404, but protorpc detects it as a subclass of `protorpc.remote.ApplicationError` and sends 400 instead.","author":{"url":"https://github.com/inklesspen","@type":"Person","name":"inklesspen"},"datePublished":"2018-02-21T01:49:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/138/endpoints-python/issues/138"}
| 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:32c511b4-c221-f2ab-a2f8-7f45d90360f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B54C:2B4DA:1377260:1B0195E:6A4DE8F5 |
| html-safe-nonce | c2d193f3a097e5b02e9e28dfc2d3a23f981463ad37782228af31e5d28b13ed06 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTRDOjJCNERBOjEzNzcyNjA6MUIwMTk1RTo2QTRERThGNSIsInZpc2l0b3JfaWQiOiI1OTA0NTE4NTcxMjcwOTkwMDY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e1f12e213bb595153d1e8ce22faaedc6cfef239a59b33c7f1521d894830dd5fc |
| hovercard-subject-tag | issue:298814347 |
| 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/cloudendpoints/endpoints-python/138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d854fbb378199c07e42b402f9ae8bac630d7e3cf27d9ebbc118505e141f263ea/cloudendpoints/endpoints-python/issues/138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d854fbb378199c07e42b402f9ae8bac630d7e3cf27d9ebbc118505e141f263ea/cloudendpoints/endpoints-python/issues/138 |
| og:image:alt | Raising an exception such as endpoints.api_exceptions.NotFoundException ought to result in an error with http status code 404, but protorpc detects it as a subclass of protorpc.remote.ApplicationEr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | inklesspen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudendpoints/endpoints-python git https://github.com/cloudendpoints/endpoints-python.git |
| octolytics-dimension-user_id | 19231370 |
| octolytics-dimension-user_login | cloudendpoints |
| octolytics-dimension-repository_id | 65349604 |
| octolytics-dimension-repository_nwo | cloudendpoints/endpoints-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65349604 |
| octolytics-dimension-repository_network_root_nwo | cloudendpoints/endpoints-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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width