Skip to content
Browse files

request

  • Loading branch information...
1 parent ac31e20 commit 431e5043142f6aaca6ae360ed9e63d1eb6e9a26c @vovazolotoy vovazolotoy committed Sep 28, 2011
Showing with 11 additions and 11 deletions.
  1. +8 −8 application/bootstrap.js
  2. +3 −3 system/prototypes/johana/request.js
View
16 application/bootstrap.js
@@ -25,11 +25,11 @@ require('http').createServer(function (req, res) {
testList(req, res);
}).listen(8001, "127.0.0.1");
-var options = {
- key: require('fs').readFileSync(DOCROOT + '/certs/server.key'),
- cert: require('fs').readFileSync(DOCROOT + '/certs/server.crt')
-};
-
-require('https').createServer(options, function (req, res) {
- testList(req, res);
-}).listen(8002);
+//var options = {
+// key: require('fs').readFileSync(DOCROOT + '/certs/server.key'),
+// cert: require('fs').readFileSync(DOCROOT + '/certs/server.crt')
+//};
+//
+//require('https').createServer(options, function (req, res) {
+// testList(req, res);
+//}).listen(8002);
View
6 system/prototypes/johana/request.js
@@ -796,14 +796,14 @@ JohanaRequest.prototype.param = function(key, def)
* @return this
* @uses Request.messages
* @deprecated This should not be here, it belongs in\n
- * Response::send_headers() where it is implemented correctly.
+ * Response.sendHeaders() where it is implemented correctly.
*/
-JohanaRequest.prototype.send_headers = function()
+JohanaRequest.prototype.sendHeaders = function()
{
if ( ! (response = this.response()) instanceof Response)
return this;
- response.send_headers();
+ response.sendHeaders();
return this;
};

0 comments on commit 431e504

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