*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:23:07 +0000 (08:23 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:23:07 +0000 (08:23 +0000)
tests/js-test/js/httpd/httpd.js

index d24c8ad..37c3450 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.40 2005/07/09 08:07:55 mmondor Exp $ */
+/* $Id: httpd.js,v 1.41 2005/07/09 08:23:07 mmondor Exp $ */
 
 /*
  * Copyright (c) 2005, Matthew Mondor
@@ -106,7 +106,7 @@ eval(file_read('root.js'));         /* Root object for virtual chroot(2) */
  * Server identification
  */
 SERVER_VERSION                 = 'mmondor_js_httpd/0.0.1 (NetBSD)';
-SERVER_CVSID   = '$Id: httpd.js,v 1.40 2005/07/09 08:07:55 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.41 2005/07/09 08:23:07 mmondor Exp $';
 
 
 
@@ -916,10 +916,10 @@ FD.prototype.httpRespond = function(time)
                obj.addNoCacheHeaders();
 
                /* XXX Add other objects to export as necessary */
-               obj._GET = this.http_vars_get;
-               obj._POST = this.http_vars_post;
-               obj._COOKIES = this.http_vars_cookies;
-               obj._SESSION = this.http_vars_session;
+               obj.get = this.http_vars_get;
+               obj.post = this.http_vars_post;
+               obj.cookie = this.http_vars_cookies;
+               obj.session = this.http_vars_session;
 
                /*
                 * Check if object in our cache already and file not modified