From reading the source it appears that HTTP::Tiny expects to receive plain bytes for request content, and will return plain bytes in the response content. All encoding becomes the user's problem.
This is all fine - especially for a Tiny module - but it would be useful if the documentation pointed out this fact, so users were clear on the matter. A search through the docs for the words "encode", "encoding" or "bytes" did not yield anything notworthy.
From reading the source it appears that
HTTP::Tiny
expects to receive plain bytes for request content, and will return plain bytes in the response content. All encoding becomes the user's problem.This is all fine - especially for a Tiny module - but it would be useful if the documentation pointed out this fact, so users were clear on the matter. A search through the docs for the words "encode", "encoding" or "bytes" did not yield anything notworthy.