I'm trying to send an API post to the pastebin endpoint. When I send via LSL and use a proper MIMETYPE, I get an HTTP Error 415, Response: Unsupported or unknown Content-Type
When I send with no MIMETYPE and instead send with HTTP_CUSTOM_HEADER, I get this debug window error: "HTTP_CUSTOM_HEADER value is an invalid header".
I presume that this second problem is due to the caveat "Note that certain headers, such as the default headers, are blocked for security reasons."
The content type I wish to use is application/x-www-form-urlencoded
When I send a request to pasetbin using that content type outside of LSL (Python), everything works great. From SL, no good.
Edit: Moving an important detail from the hidden details field up here, too:
As a side-note, another bug!!! The wiki (https://wiki.secondlife.com/wiki/LlHTTPRequest) says that one accept parameter we can use is "text/plain;charset=utf-8"
Using that string yields an error also!