Howdy all,

I've just started working with cpp-netlib and I am trying to get an HTTP
server (not asynchronous) working with different mime Content-Types.

I see that the FileServer example sets the mime-type for different responses
in the asynchronous server connection_ptr but I can't get anything like it
to work for a simple synchronous server response.

Can anyone give an example of how to set the Content-Type header for a
simple synchronous server response?

Thanks,
-Dave-
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to