Skip to content

Figure out what to do about informational status codes #167

Description

@carllerche

An HTTP/2.0 stream can begin with an arbitrary number of header frames with a 1xx status code.

The current API does not support this. My best guess would be doing something like this:

client

ResponseFuture is modified to be a future of (naming TBD):

enum Head {
    Informational(ResponseFuture),
    Response(Response<RecvBody>),
}

server

Respond gets a new fn: send_informational(response: Response<()>).

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions