Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 15, 2024. It is now read-only.
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Handle additional 4xx HTTP status codes #186

Copy link
Copy link
@bagerard

Description

@bagerard
Issue body actions

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 allowed) that isn't caught in CB.__status.

Even 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

bra-fsn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.