Skip to content

Commit

Permalink
Invalid message sequences are also malformed
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBishop committed Jan 16, 2020
1 parent 9d1b832 commit f5d137d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions draft-ietf-quic-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@ A client MUST send only a single request on a given stream. A server sends zero
or more non-final HTTP responses on the same stream as the request, followed by
a single final HTTP response, as detailed below.

On a given stream, receipt of multiple requests or receipt of an additional HTTP
response following a final HTTP response MUST be treated as malformed
({{malformed}}).

An HTTP message (request or response) consists of:

1. the message header (see {{!RFC7230}}, Section 3.2), sent as a single HEADERS
Expand Down Expand Up @@ -614,8 +618,8 @@ permitted (e.g., idempotent actions like GET, PUT, or DELETE).

A malformed request or response is one that is an otherwise valid sequence of
frames but is invalid due to the presence of prohibited header fields, the
absence of mandatory header fields, or the inclusion of uppercase header field
names.
absence of mandatory header fields, an invalid sequence of HTTP messages, or the
inclusion of uppercase header field names.

A request or response that includes a payload body can include a
`content-length` header field. A request or response is also malformed if the
Expand Down

0 comments on commit f5d137d

Please sign in to comment.