Skip to content

Commit

Permalink
Fix form content type response
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed May 4, 2015
1 parent 148bc2e commit 4a360c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/server
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var routes = {
res.destroy();
},
'/form': function(res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.writeHead(200, {'Content-Type': 'application/x-www-form-urlencoded'});
res.end('number=1&space=one+two&empty=&encoded=a%2Bb&');
},
'/json': function(res) {
Expand Down

0 comments on commit 4a360c4

Please sign in to comment.