diff --git a/README.md b/README.md index 7816104..08fee67 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ var https = require('spdy'); function redirectHttp() { http.createServer(LEX.createAcmeResponder(lex, function redirectHttps(req, res) { res.setHeader('Location', 'https://' + req.headers.host + req.url); - res.statusCode = 302; + res.statusCode = 302; // use 307 if you want to redirect requests with POST, DELETE or PUT action. res.end(''); })).listen(80); }