[Developers] HTTP content type

Tom Goodale goodale at cct.lsu.edu
Thu Feb 10 13:36:27 CST 2005


When you construct your http message, it is the second line, e.g.

   HTTP_Send(request, "HTTP/1.0 200 OK\r\n");
   /* Content-Type */
   HTTP_Send(request, "Content-Type: text/html\r\n");

Tom


On Thu, 10 Feb 2005, Alex Nagelberg wrote:

> Hi all, I'm currently developing a thorn for Cactus to organize all active 
> thorns in to an RSS feed. Everything is ready to go except for one thing 
> which I cannot find in code/documentation how to work: setting the content 
> type of the output. Can anyone offer a solution?
>
> Thanks in advance,
>  -Alex Nagelberg
>
> _______________________________________________
> Developers mailing list
> Developers at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/developers
>



More information about the Developers mailing list