Hi again

well,what would be nice to have is to print incoming requests
on server side, both header and body. Something like it is done in
one of the client examples. Would be nice to have it for
general use - for debugging and verbose logging

I've tried to copy printing body/header code from client to server (with
appropriate changes),
but it didn't compile. Any advices?

regards

Sever

On Wed, Feb 23, 2011 at 11:52 PM, Dean Michael Berris <
[email protected]> wrote:

> Hi Sever,
>
> On Thu, Feb 24, 2011 at 9:50 AM, Severin Pappadeux <[email protected]>
> wrote:
> > Hi, All
> > Ubuntu 10.10 64bit, gcc-4.4
> > Build BOOST 1.46, and on top of it cpp-netlib 0.8.1.
> > The only thing I did was to declare to use BOOST_FILESYSTEM version 2,
> got
> > one issue:
> > some tests didn't do good, but when I tried them manually, seems to work
> > (well, except MIME parser).
>
> Yeah, the MIME stuff is currently un-maintained but last I checked is
> practically functional.
>
> > Now question:
> > could I use the code to push files forth and back? Fielserver.cpp seems
> to
> > be good point to start to get data back, but could I push it
> > from client to server to store data?
>
> You can definitely use the HTTP client(s) in cpp-netlib to push data
> via PUT/POST -- you just have to craft the appropriate requests. At
> the moment the way to do it is terribly inefficient, and I hope to be
> able to address those issues soon.
>
> Having said that, the fileserver example can be extended to support
> PUT/POST, but it wouldn't be a simple example anymore if I do that. ;)
>
> > thank you
>
> Thanks for trying it out. In case you have any more questions please
> feel free to ask on the list again and we'll try to help you out as
> soon as we can. :D
>
> --
> Dean Michael Berris
> about.me/deanberris
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to