LaxContentLengthStrategy.java | Class | The lax implementation of the content length strategy.
This strategy conforms to the entity transfer rules outlined in
Section 4.4,
Section 3.6,
Section 14.41
and Section 14.13
of RFC 2616, but is lenient
about unsupported transfer codecs and malformed content-length headers.
4.4 Message Length
The transfer-length of a message is the length of the message-body as it appears in the
message; that is, after any transfer-codings have been applied. |
StrictContentLengthStrategy.java | Class | The strict implementation of the content length strategy.
This entity generator comforms to the entity transfer rules outlined in the
Section 4.4,
Section 3.6,
Section 14.41
and Section 14.13
of RFC 2616
4.4 Message Length
The transfer-length of a message is the length of the message-body as it appears in the
message; that is, after any transfer-codings have been applied. |