Is there any way to know if the message body of an HTTP response is encoded with Base64?
I learnt that content-transfer-encoding is not part of HTTP header.
So, which HTTP header indicates that the content is encoded with Base64? I think Content-encoding is only used for compressions.
As far as I understand, an HTTP body may not be encoded in Base64:
Identity being:
Of course you're allowed to transport Base64-encoded data using HTTP, but that should be something both parties (client and server) agree on, and there doesn't seem to be a header to describe this behavior.