ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Feature Request: HTTP request with message body (http.js) #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is impossible to send a HTTP request with a message body with the
current library http.js but there might be some situations where you would
like to send a body, e.g. if you are using CouchDB.

It is really easy to implement this feature, I attached a patch for http.js
(against trunk) where the feature is implemented by introducing two new vars:
this.data and this.ContentType

Regards,
    Lukas

Original issue reported on code.google.com by hammerha...@gmail.com on 31 Jul 2009 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, makes sense. I will merge the patch soon.

Original comment by ondrej.zara on 31 Jul 2009 at 5:05

GoogleCodeExporter commented 9 years ago
Fixed in rev. 537. I decided to use a bit different and simpler approach to add 
this
feature.

Original comment by ondrej.zara on 31 Jul 2009 at 7:52