Reputation: 8903
I thought I knew this already but now I'm not sure: Is all content sent over http always encoded to character data? ie, if my content type is a binary file type, is it always converted to binhex, or is it possible to send "actual" binary data across the wire?
Upvotes: 4
Views: 5581
Reputation: 324600
Character data is just binary data with special meaning to humans :p
The actual body of the HTTP request may be encoded and/or compressed, and this is specified in the headers.
Upvotes: 2
Reputation: 33658
In HTTP there is no content transfer encoding (e.g. base64) done, so binary data is sent just binary, byte-by-byte.
Upvotes: 4