Skip to content

Generic support for 1xx responses and early hints in particular #542

@markt-asf

Description

@markt-asf

This issue arose from discussions around dropping HTTP/2 push support in #538.

Do we reuse sendError(), introduce a new method or something else?

Given the Javadoc for sendError(), I think a new method (name?) would be better.

Given the number of different methods that can set status codes, I think we should also add a requirement to throw IllegalArgumentException if any such method is used with an inappropriate status code (e.g. a 4xx code with sendRedirect)

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