From: Divye K. <div...@gm...> - 2010-02-17 07:44:28
|
Hello everyone, Been a long time and I've been busy with my acads, but I had a contribution I had to make to this discussion: On Wed, Feb 17, 2010 at 1:45 AM, Dean Michael Berris <mik...@gm... > wrote: > > Yes, it is possible. You can already use the cpp-netlib client to > download in HTTP 1.0 mode binary data -- there are even tests packaged > in the library to prove it. > <snip> > The plan is to keep cpp-netlib as it is right now able to handle > binary data (of course transferred in the appropriate network byte > order) as it comes over the wire. > > I'm not so sure that byte conversion is being performed or being tested by the library. The tests do not specifically check for byte conversion issues as they are being run on the same host. The tests simply check that binary data is transferred "as-is" between server and client and that the end result is the same file data. Byte order tests are still missing I guess. Dean might be able to throw light on the library implementation of the byte order conversion issues. @Erik: The binary transfer test is libs/network/test/http_localhost_tests.cpp - binary_file_query Divye -- Life is complicated. Its that simple! |