[Rd] include body in the call to httpd

From: Romain Francois <romain.francois_at_dbmail.com>
Date: Mon, 30 Nov 2009 15:02:53 +0100


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


______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Mon 30 Nov 2009 - 14:06:57 GMT

This archive was generated by hypermail 2.2.0 : Mon 30 Nov 2009 - 14:50:53 GMT