replaced tabs with whitespaces

This commit is contained in:
Daniel Huhn 2014-06-29 16:22:37 +02:00
parent cc9d57d4a4
commit 0f467e616b

View file

@ -73,13 +73,13 @@ exports.request = function( request, callback ) {
url = request.url; url = request.url;
paramsAsString = paramsToString( request.params ); paramsAsString = paramsToString( request.params );
if ( request.method ) { if ( request.method ) {
requestMethod = request.method; requestMethod = request.method;
} else { } else {
requestMethod = 'GET'; requestMethod = 'GET';
} }
if ( requestMethod == 'GET' && request.params ) { if ( requestMethod == 'GET' && request.params ) {
// append each parameter to the URL // append each parameter to the URL
url = request.url + '?' + paramsAsString; url = request.url + '?' + paramsAsString;
} }
} }
conn = new java.net.URL( url ).openConnection(); conn = new java.net.URL( url ).openConnection();