1234567891011121314module juptune.http.v1;
struct Http1ReadResponseConfig
{
/++ FUNCTIONS ++/
///
Http1ReadResponseConfig withIsBodyless(bool v);
/++ VARIABLES ++/
/// If set to true, then the response will be forced to be interpreted as a bodyless response, regardless of what the headers say.
bool isBodyless;
}
Configuration for reading a response.
This is neccessary as the reader does not have context of the overall state of the request/response pipeline, so certain things must be configured by the user code.
| Name | Description |
|---|---|
| withIsBodyless |
| Name | Description |
|---|---|
| isBodyless |
If set to true, then the response will be forced to be interpreted as a bodyless response, regardless of what the headers say. |