Skip to content

Byte-Range (with value 1-0/0) is not included in bodiless SENDs #21

Description

@optimusprime01

According to RFC 4975:
There are some circumstances where an endpoint may choose to send an empty SEND request. For the sake of consistency, a Byte-Range header field referring to nonexistent or zero-length content MUST still have a range-start value of 1. For example, "1-0/0".

However Transaction.makeSendHeader() doesn't include the Byte-Range: 1-0/0 header when content in OutgoingMessage is null.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions