url is now propely set in the http.request module when using
post
This commit is contained in:
parent
bded5e8bd5
commit
cc9d57d4a4
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ exports.request = function( request, callback ) {
|
|||
url = request;
|
||||
requestMethod = 'GET';
|
||||
}else{
|
||||
url = request.url;
|
||||
paramsAsString = paramsToString( request.params );
|
||||
if ( request.method ) {
|
||||
requestMethod = request.method;
|
||||
|
|
Reference in a new issue