You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently message body is considered to be a String and a StingBuilder is used to process all the message body lines if there are some.
As the message body is not defined as a simple String, instead it's a byte sequence with different possible encodings and formats, a separate class might be needed to consider all eventualities in message body parsing.
Minimal criteria for successful message body (payload) parsing:
Not all HTTP messages contain a message body, certain messages types such as (1xx, 204, 304) must not contain a body, whereas all others have a message body optionally of 0 bytes length
Define a class / class structure to process or parse message body depending on header fields.
The text was updated successfully, but these errors were encountered:
See: http://httpwg.org/specs/rfc7230.html#message.body
Currently message body is considered to be a String and a StingBuilder is used to process all the message body lines if there are some.
As the message body is not defined as a simple String, instead it's a byte sequence with different possible encodings and formats, a separate class might be needed to consider all eventualities in message body parsing.
Minimal criteria for successful message body (payload) parsing:
Define a class / class structure to process or parse message body depending on header fields.
The text was updated successfully, but these errors were encountered: