Permalink
Browse files

make all the tests pass again

  • Loading branch information...
1 parent a13d3aa commit 7cf4b68cb2958e88810a1f5bf56f12d5096680a7 @mhansen committed Jul 26, 2010
Showing with 3 additions and 1 deletion.
  1. +2 −0 lib/antinode.js
  2. +1 −1 package.json
View
2 lib/antinode.js
@@ -215,6 +215,8 @@ function serve_static_file(path, req, resp) {
send_headers(404,body.length,"text/plain");
if (req.method != 'HEAD') {
resp.end(body, 'utf-8');
+ } else {
+ resp.end('');
}
}
View
2 package.json
@@ -1,6 +1,6 @@
{ "name" : "antinode"
, "description" : "A simple web server for node.js"
-, "version" : "2.0.8"
+, "version" : "2.0.9"
, "author" : "Mark Hansen <mark@markhansen.co.nz>"
, "contributors" :
[ "Ben Noordhuis <info@bnoordhuis.nl>"

0 comments on commit 7cf4b68

Please sign in to comment.