Wraps a byte buffer, sorting out the content type based on various information.
Wraps a byte buffer, sorting out the content type based on various information.
if the content type is not initially known, the request URL may provide a hint based on the extension of the filename, if present.
the request parameter is ignored if the status is not 200-OK.
the content type received from the webserver, if any
the actual body content (also known as response entity)
Wraps a byte array, sorting out the content type based on various information.
Wraps a byte array, sorting out the content type based on various information.
if the content type is not initially known, the request URL may provide a hint based on the extension of the filename, if present.
the request parameter is ignored if the status is not 200-OK.
the content type received from the webserver, if any
the actual body content (also known as response entity)