Loading…
|
String added in the repository |
Source string description
type: table cellFlags
read-only
Loading…
|
String added in the repository |
When this function is present:
* The function shall not fail
* A call to [link beast.ref.boost__beast__http__message.payload_size `message::payload_size`] will return the same value as `size`.
* A call to [link beast.ref.boost__beast__http__message.prepare_payload `message::prepare_payload`] will remove "chunked" from the Transfer-Encoding field if it appears as the last encoding, and will set the Content-Length field to the returned value.
Otherwise, when the function is omitted:
* A call to [link beast.ref.boost__beast__http__message.payload_size `message::payload_size`] will return `boost::none`.
* A call to [link beast.ref.boost__beast__http__message.prepare_payload `message::prepare_payload`] will erase the Content-Length field, and add "chunked" as the last encoding in the Transfer-Encoding field if it is not already present.
When this function is present:
* The function shall not fail
* A call to [link beast.ref.boost__beast__http__message.payload_size `message::payload_size`] will return the same value as `size`.
* A call to [link beast.ref.boost__beast__http__message.prepare_payload `message::prepare_payload`] will remove "chunked" from the Transfer-Encoding field if it appears as the last encoding, and will set the Content-Length field to the returned value.
Otherwise, when the function is omitted:
* A call to [link beast.ref.boost__beast__http__message.payload_size `message::payload_size`] will return `boost::none`.
* A call to [link beast.ref.boost__beast__http__message.prepare_payload `message::prepare_payload`] will erase the Content-Length field, and add "chunked" as the last encoding in the Transfer-Encoding field if it is not already present.