url is now propely set in the http.request module when using

post
This commit is contained in:
Daniel Huhn 2014-06-29 16:09:22 +02:00
parent bded5e8bd5
commit cc9d57d4a4

View file

@ -70,6 +70,7 @@ exports.request = function( request, callback ) {
url = request; url = request;
requestMethod = 'GET'; requestMethod = 'GET';
}else{ }else{
url = request.url;
paramsAsString = paramsToString( request.params ); paramsAsString = paramsToString( request.params );
if ( request.method ) { if ( request.method ) {
requestMethod = request.method; requestMethod = request.method;