Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

writeHeader has been renamed to writeHead

  • Loading branch information...
commit 1f7cd060f614803fac3b23f50ec71c837dea85cf 1 parent 4317a52
authored July 18, 2010
2  picard/lib/picard/request_extensions.js
@@ -73,7 +73,7 @@ var request_extensions = {
73 73
     if( !scope.body ) return
74 74
     scope.headers.push([ 'Content-Length', scope.body.length ])
75 75
     scope.headers.push([ 'Content-Encoding', scope.encoding ])
76  
-    this.response.writeHeader(scope.status, scope.headers)
  76
+    this.response.writeHead(scope.status, scope.headers)
77 77
     this.response.write(scope.body, scope.encoding)
78 78
     this.response.end()
79 79
   },

0 notes on commit 1f7cd06

Please sign in to comment.
Something went wrong with that request. Please try again.