From romain.francois at dbmail.com  Mon Nov 30 15:02:53 2009
From: romain.francois at dbmail.com (Romain Francois)
Date: Mon, 30 Nov 2009 15:02:53 +0100
Subject: [Rd] include body in the call to httpd
Message-ID: <4B13D08D.9050600@dbmail.com>

Hello,

Would it be possible to include the body of the request that is sent to 
the internal web server as the "body" argument of the httpd function ?

At the moment, in Rhttpd.c the body is filled as part of the 
worker_input_handler, but it does not arrive to the R side (the httpd 
function).

I'm attaching a small patch that adds a "body" argument to httpd and 
sets it to either NULL when there is no body or the body, as a raw vector.

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/FtUu : new package : highlight
|- http://tr.im/EAD5 : LondonR slides
`- http://tr.im/BcPw : celebrating R commit #50000

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: body.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20091130/6a87d98a/attachment.txt>


[Rd] include body in the call to httpd
Romain Francois