MessageHeaders.setEncoding
void setEncoding(soup.types.Encoding encoding)Sets the message body encoding that hdrs will declare.
In particular, you should use this if you are going to send a request or response in chunked encoding.
Parameters
encoding | a #SoupEncoding |