Title: Handle additional 4xx HTTP status codes · Issue #186 · python-consul/python-consul · GitHub
Open Graph Title: Handle additional 4xx HTTP status codes · Issue #186 · python-consul/python-consul
X Title: Handle additional 4xx HTTP status codes · Issue #186 · python-consul/python-consul
Description: while developing I noticed the following bug as well (#179), and it made the service.deregister method returning False without any additional information. By debugging the code I could see that consul actually returned a 405 (method not ...
Open Graph Description: while developing I noticed the following bug as well (#179), and it made the service.deregister method returning False without any additional information. By debugging the code I could see that con...
X Description: while developing I noticed the following bug as well (#179), and it made the service.deregister method returning False without any additional information. By debugging the code I could see that con...
Opengraph URL: https://github.com/python-consul/python-consul/issues/186
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle additional 4xx HTTP status codes","articleBody":"while developing I noticed the following bug as well (#179), and it made the service.deregister method returning False without any additional information.\r\nBy debugging the code I could see that consul actually returned a 405 (method not allowed) that isn't caught in CB.__status.\r\n\r\nEven if #179 will be fixed I thought it could be useful to handle all the 4xx status code (in a generic manner) in CB.__status. I'll submit a PR shortly","author":{"url":"https://github.com/bagerard","@type":"Person","name":"bagerard"},"datePublished":"2018-01-01T14:18:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/186/python-consul/issues/186"}
| 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:9f8f40ff-97e6-4546-63c6-01c64e29cdd5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEFA:307653:7CA0C75:A0E2F63:6976D2E1 |
| html-safe-nonce | feb6f7973d88f503fe25c8d5a89974c99c39c880cadf9af1b262190790f4aa3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUZBOjMwNzY1Mzo3Q0EwQzc1OkEwRTJGNjM6Njk3NkQyRTEiLCJ2aXNpdG9yX2lkIjoiOTAwNDIxNjY1OTQyMTM1MjY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 13e6caa1169191265f2fb90aaf502ce65614bf16af6b50d70f03e50c7b6f808f |
| hovercard-subject-tag | issue:285309702 |
| 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/python-consul/python-consul/186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7fa75e4edab5bfdfd3dfecb1fd25a50b640c8a46857449ac497b893698c93f2/python-consul/python-consul/issues/186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7fa75e4edab5bfdfd3dfecb1fd25a50b640c8a46857449ac497b893698c93f2/python-consul/python-consul/issues/186 |
| og:image:alt | while developing I noticed the following bug as well (#179), and it made the service.deregister method returning False without any additional information. By debugging the code I could see that con... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bagerard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-consul/python-consul git https://github.com/python-consul/python-consul.git |
| octolytics-dimension-user_id | 143416393 |
| octolytics-dimension-user_login | python-consul |
| octolytics-dimension-repository_id | 24473148 |
| octolytics-dimension-repository_nwo | python-consul/python-consul |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24473148 |
| octolytics-dimension-repository_network_root_nwo | python-consul/python-consul |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width