Hello,
I have a problem with chrome navegator. I created the server below, but the
chrome make two request. Has anyone had this type of problem?
PS: To port 80 to work, you must be root.
var http = require("http");
var express = require('express'), app = express();
app.use(app.router);
app.use(express.static(__dirname));
app.get('*', function(req, res){
console.log(req.params);
});
http.createServer(app).listen(80);
Exemple:
http://localhost/1234 -> OK
http://localhost/12 <http://localhost/1234>A12 -> Been two requests
http://localhost/12 <http://localhost/1234>A23d -> Been two requests
Best regards...
Bessa
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.