From: Leon M. <l.p...@so...> - 2010-02-16 19:40:11
|
On Sat, Feb 13, 2010 at 8:53 AM, Glyn Matthews <gly...@gm...>wrote: > *From:* Glyn Matthews [mailto:gly...@gm...] >> *Sent:* Wednesday, February 10, 2010 4:16 AM >> > You'd have to base 64 encode and decode any binary data in HTTP. >> There's nothing in cpp-netlib which does this, but you can use: >> >> Thanks for the response... I have the base64 functions, but was hoping to >> avoid the overhead. Are all binary transfers handled this way? For >> example, when I download a binary file from Sourceforge, is it base64 >> encoded on the wire? >> > > Yes, if you download it using HTTP all binary data needs to be MIME > encoded. > On 12 February 2010 22:36, Nelson, Erik - 2 < > eri...@ba...> wrote: > Sorry to interrupt, but is this true? I always thought the HTTP Context-Length: response parameter was invented for this purpose, to be able to transfer raw binary data. -- Leon Mergen |