Gets the OutputStream to use for sending binary data.
The OutputStream to use for sending binary data. throws: RegainException - If getting the OutputStream failed.
Sets the header with the given name.
Parameters: name - The name of the header. Parameters: value - The header value to set. throws: RegainException - If getting the header failed.
Sets the header with the given name as date.
Parameters: name - The name of the header. Parameters: value - The header value to set. throws: RegainException - If getting the header failed.