Permalink
Browse files

fixes Issue #2, remote file validation

  • Loading branch information...
1 parent 0579dfe commit b53606e8338eca86f4d70d6e4bdcc7cc585c95b3 @Lockyc Lockyc committed May 8, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/w3cjs.js
View
@@ -32,10 +32,8 @@ function validate(options) {
} else {
var req = request.get(w3cCheckUrl);
req.set('User-Agent','w3cjs - npm module')
- req.send({
- uri: file,
- output: output
- });
+ req.query({ output: output })
+ req.query({ uri: file })
};
req.end(function(res){
if(output === 'json'){

0 comments on commit b53606e

Please sign in to comment.