Http1Stage
object Http1Stage
Value members
Concrete methods
Encodes the headers into the Writer. Does not encode
Transfer-Encoding
or Content-Length
headers, which are left
for the body encoder. Does not encode headers with invalid
names. Adds Date
header if one is missing and this is a server
response.
Encodes the headers into the Writer. Does not encode
Transfer-Encoding
or Content-Length
headers, which are left
for the body encoder. Does not encode headers with invalid
names. Adds Date
header if one is missing and this is a server
response.
Note: this method is very niche but useful for both server and client.