Опубликованный пакет / CLIR

ietf.http_framing

v0.1.0

Hypertext Transfer Protocol -- HTTP/1.1

Пломба §208sha256:a2cd69e3b97ad54e37c7f4f5b672611db745107b7f76c2e359fe2f6f319d2042
Подключить / law.toml
[dependencies]
ietf.http_framing = "0.1.0"
Получить канонические байты
curl -O /blobs/a2cd69e3b97ad54e37c7f4f5b672611db745107b7f76c2e359fe2f6f319d2042.lawir.json

Все адресуемые узлы пакета. Помеченные internal — не часть контракта: сослаться на них из другого пакета нельзя (§24). Свою страницу имеют только публичные символы.

symbol_decl — 33
УзелПодписьАнкеры §194
CL_IGNORED_ON_RECEIPT_2616if a message is received with both a Transfer-Encoding and a Content-Length header field, the latter MUST be ignored (RFC 2616, Section 4.4)internal
CL_NOT_SENT_WITH_TE_2616the Content-Length header field MUST NOT be sent if a Transfer-Encoding header field is present (RFC 2616, Section 4.4)internal
Intermediaryan intermediaryinternal
MESSAGE_MUST_NOT_INCLUDE_BOTH_2616messages MUST NOT include both a Content-Length header field and a non-identity transfer-coding (RFC 2616, Section 4.4)internal
REJECT_CONFLICTING_CL_7230if a message is received with multiple Content-Length fields having differing values, the recipient MUST treat it as an unrecoverable error (RFC 7230, Section 3.3.3)internal
REMOVE_CL_AND_PROCESS_TE_9112an intermediary that chooses to forward the message MUST first remove the received Content-Length field and process the Transfer-Encoding prior to forwarding (RFC 9112, Section 6.3)internal
REMOVE_CL_BEFORE_FORWARDING_7230a sender MUST remove the received Content-Length field prior to forwarding such a message downstream (RFC 7230, Section 3.3.3)internal
RESPOND_400_OR_411_2616the server SHOULD respond with 400 (bad request) or 411 (length required) when it cannot determine the message length (RFC 2616, Section 4.4)internal
RFC2616_DOCUMENTRFC 2616, Hypertext Transfer Protocol -- HTTP/1.1 (1999)internal
RFC7230_DOCUMENTRFC 7230, HTTP/1.1 Message Syntax and Routing (2014)internal
RFC9112_DOCUMENTRFC 9112, HTTP/1.1 (2022)internal
Recipienta recipientinternal
Sendera senderinternal
accepted_without_lengththe server accepted the request although it could not determine the message lengthinternal
acts_asthe participant acts in this role for the exchangeinternal
carries_both_framing_fieldsthe message carries both a Transfer-Encoding and a Content-Length header fieldinternal
compliantthe implementation is compliant with RFC 2616 in the sense of its Section 1.2internal
conditionally_compliantthe implementation is conditionally compliant: it satisfies the MUST level requirements but not all the SHOULD level requirementsinternal
forwarded_downstreamthe participant forwarded the message downstreaminternal
generated_bythe message was generated by this participantinternal
has_content_lengththe message carries a Content-Length header fieldinternal
has_transfer_encodingthe message carries a Transfer-Encoding header fieldinternal
ignored_content_lengththe recipient ignored the Content-Length field when determining the message lengthinternal
kept_content_length_when_forwardingthe participant forwarded the message with the received Content-Length field intactinternal
multiple_conflicting_content_lengththe message carries multiple Content-Length header fields with differing field-valuesinternal
processed_as_validthe recipient processed the message as a valid oneinternal
received_bythe message was received by this participantinternal
removed_content_length_before_forwardingthe participant removed the received Content-Length field before forwardinginternal
request_with_body_without_content_lengththe request contains a message-body and no Content-Length is giveninternal
responded_400_or_411the server responded with 400 (bad request) or 411 (length required)internal
responded_bad_requestthe server responded with 400 (Bad Request) and closed the connectioninternal
unconditionally_compliantthe implementation is unconditionally compliant: it satisfies the MUST level and the SHOULD level requirementsinternal
used_content_lengththe recipient used the Content-Length field when determining the message lengthinternal
type_decl — 2
УзелПодписьАнкеры §194
FramingRolethe role in which a participant is addressed by a framing requirementinternal
HttpMessagean HTTP/1.1 messageinternal
rule — 19
УзелПодписьАнкеры §194
AcceptingBodyWithoutLengthDeviates2616if a request contains a message-body and a Content-Length is not given, the server SHOULD respond with 400 or 4111internal
BothFramingFieldsPresenta message with both a Transfer-Encoding and a Content-Length header fieldinternal
ComplianceIsPresumedan implementation subject to a MUST or REQUIRED level requirement is taken to be compliant until a failure is shown1internal
ConditionalComplianceIsTheMiddleTermone that satisfies all the MUST level requirements but not all the SHOULD level requirements is said to be conditionally compliant1internal
ForwardingWithContentLengthDeviates7230a sender MUST remove the received Content-Length field prior to forwarding such a message downstream1internal
ForwardingWithoutContentLengthConforms7230removing the received Content-Length field before forwarding conforms to Section 3.3.31internal
GeneratingBothFieldsDeviates2616the Content-Length header field MUST NOT be sent if a Transfer-Encoding header field is present1internal
IgnoringContentLengthConforms2616if a message is received with both fields, the latter MUST be ignored1internal
IncludingBothFieldsDeviates2616messages MUST NOT include both a Content-Length header field and a non-identity transfer-coding1internal
IntermediaryForwardingWithContentLengthDeviates9112an intermediary that chooses to forward the message MUST first remove the received Content-Length field prior to forwarding the message downstream1internal
IntermediaryRemovingContentLengthConforms9112removing the received Content-Length field before forwarding conforms to Section 6.31internal
MustLevelFailureDefeatsCompliancean implementation is not compliant if it fails to satisfy one or more of the MUST or REQUIRED level requirements1internal
MustLevelFailureDefeatsUnconditionalCompliancea MUST level failure defeats unconditional compliance1internal
ProcessingConflictingContentLengthDeviates7230if a message is received with multiple Content-Length fields having differing values, the recipient MUST treat it as an unrecoverable error1internal
RejectingConflictingContentLengthConforms7230responding with 400 (Bad Request) and closing the connection conforms to Section 3.3.31internal
RespondingWithLengthErrorConforms2616responding with 400 (bad request) or 411 (length required) conforms to the recommendation of Section 4.41internal
ShouldLevelFailureDefeatsUnconditionalCompliancea SHOULD level failure defeats unconditional compliance while leaving compliance intact1internal
UnconditionalComplianceIsPresumedan implementation subject to a MUST or REQUIRED level requirement is taken to be unconditionally compliant until a failure is shown1internal
UsingContentLengthDeviates2616using the Content-Length of a message that also carries Transfer-Encoding deviates from Section 4.41internal
priority_rule — 3
УзелПодписьАнкеры §194
MustFailureBeatsThePresumptionOfCompliancea shown MUST level failure prevails over the presumption of compliance1internal
MustFailureBeatsUnconditionalCompliancea shown MUST level failure prevails over the presumption of unconditional compliance1internal
ShouldFailureBeatsUnconditionalCompliancea shown SHOULD level failure prevails over the presumption of unconditional compliance1internal
assertion — 17
УзелПодписьАнкеры §194
assert-11internal
assert-101internal
assert-111internal
assert-121internal
assert-131internal
assert-141internal
assert-151internal
assert-161internal
assert-171internal
assert-21internal
assert-31internal
assert-41internal
assert-51internal
assert-61internal
assert-71internal
assert-81internal
assert-91internal
fragment — 6
УзелПодписьАнкеры §194
RFC2616_S1_2internal
RFC2616_S4_4internal
RFC7230_S1_1internal
RFC7230_S3_3_3internal
RFC9112_S1_1internal
RFC9112_S6_3internal
publication — 3
УзелПодписьАнкеры §194
RFC2616_EN_TEXTinternal
RFC7230_EN_TEXTinternal
RFC9112_EN_TEXTinternal
reference — 2
УзелПодписьАнкеры §194
RFC7230_OBSOLETES_RFC2616Obsoletes: 2616 (RFC 7230, June 2014)internal
RFC9112_OBSOLETES_RFC7230Obsoletes: 7230 (RFC 9112, June 2022)internal
source_edition — 3
УзелПодписьАнкеры §194
RFC2616_ENRFC 2616 (R. Fielding et al.)internal
RFC7230_ENRFC 7230 (R. Fielding, J. Reschke, eds.)internal
RFC9112_ENRFC 9112 (R. Fielding, M. Nottingham, J. Reschke, eds.)internal
source_work — 3
УзелПодписьАнкеры §194
RFC2616Hypertext Transfer Protocol -- HTTP/1.1internal
RFC7230Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routinginternal
RFC9112HTTP/1.1internal