socketry / protocol-http

MIT License
23 stars 20 forks source link

Interim response handling #63

Closed ioquatix closed 1 month ago

ioquatix commented 1 month ago

This introduces a semantic for handling interim responses.

Interim responses have a status code of 1xx (excluding 101 upgrade). In theory it's okay to ignore them, so this interface is designed to be optional.

It exposes interim responses in a way that is compatible with both the client and server side.

Types of Changes

Contribution