Skip to content

Don't lose status codes in CompositeAsyncHandler #23

Closed

Description

@jvherweg

Current best example is the body parsers. These will throw an error with status code 415 if the media type is not supported, but the composite handler will merge these into an error with status code 400. Perhaps the composite handler should check if all errors thrown are of the same type and then use that one (not sure how best to do that yet).

Activity

  1. added
    ☀️ enhancement
    on Jul 10, 2020
  2. jvherweg commented on Jul 24, 2020

    @jvherweg
    MemberAuthor

    Question is also if CompositeAsyncHandler should be aware of this, or if a separate CompositeHttpError is required that does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ☀️ enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions