Skip to content

include body in the call to httpd

1 message · Romain Francois

#
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