Permalink
Browse files

Change HttpServerResponse.status to statusCode

  • Loading branch information...
1 parent 6a9a63a commit f5b3e1bbc590046352f8b7c4b11d9c88773c3b72 @richcollins committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/HttpServerResponse.js
@@ -5,14 +5,14 @@ oden.HttpServerResponse = ideal.Observable.clone().newSlots({
type: "oden.HttpServerResponse",
contentType: "text/plain",
- status: 200,
+ statusCode: 200,
body: "default oden.HttpServerResponse.body",
nodeResponse: null
}).setSlots({
send: function()
{
- this.nodeResponse().writeHead(this.status(), { 'Content-Type': this.contentType() });
+ this.nodeResponse().writeHead(this.statusCode(), { 'Content-Type': this.contentType() });
this.nodeResponse().end(this.body());
return this;
}

0 comments on commit f5b3e1b

Please sign in to comment.