HTTP content type and binary data

I thought I already knew this, but now I'm not sure: is all the content sent via http always encoded into character data? those. if my content type is a binary file type, is it always converted to binhex or is it possible to send the "actual" binary wiring data?

+4
source share
2 answers

There is no content transfer encoding in HTTP (for example, base64), so binary data is sent only binary, byte-by-bit.

+4
source

Character data is just binary data with a special meaning for people: p
The actual body of the HTTP request can be encoded and / or compressed, and this is indicated in the headers.

+2
source

All Articles