]> git.kaiwu.me - njs.git/commitdiff
Fixed example in README.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 24 Sep 2015 13:20:33 +0000 (16:20 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 24 Sep 2015 13:20:33 +0000 (16:20 +0300)
README

diff --git a/README b/README
index f8a6e2237593a9718c733b083d640f4fcad8a937..03b1db12579a4794139ea817d6ac395b71098610 100644 (file)
--- a/README
+++ b/README
@@ -73,7 +73,7 @@ Create nginx.conf:
                     res.headers.foo = 1234;
                     res.status = 302;
                     res.contentType = 'text/plain; charset=utf-8';
-                    res.contentLength = 11;
+                    res.contentLength = 15;
                     res.sendHeader();
                     res.send('nginx');
                     res.send('java');