From 749f5d6a329819d789be6e169bac2958cc33d39c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 12 Jun 2015 22:38:19 +0900 Subject: [PATCH] Update man pages --- doc/h2load.1 | 2 +- doc/nghttp.1 | 2 +- doc/nghttpd.1 | 2 +- doc/nghttpx.1 | 11 ++++++++++- doc/nghttpx.1.rst | 8 ++++++++ 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/doc/h2load.1 b/doc/h2load.1 index a0b1435e..e4d6234f 100644 --- a/doc/h2load.1 +++ b/doc/h2load.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "H2LOAD" "1" "May 24, 2015" "1.0.1" "nghttp2" +.TH "H2LOAD" "1" "June 12, 2015" "1.0.2" "nghttp2" .SH NAME h2load \- HTTP/2 benchmarking tool . diff --git a/doc/nghttp.1 b/doc/nghttp.1 index a4bc4625..5ab7b505 100644 --- a/doc/nghttp.1 +++ b/doc/nghttp.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTP" "1" "May 24, 2015" "1.0.1" "nghttp2" +.TH "NGHTTP" "1" "June 12, 2015" "1.0.2" "nghttp2" .SH NAME nghttp \- HTTP/2 experimental client . diff --git a/doc/nghttpd.1 b/doc/nghttpd.1 index 0f123af3..43a5d69e 100644 --- a/doc/nghttpd.1 +++ b/doc/nghttpd.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTPD" "1" "May 24, 2015" "1.0.1" "nghttp2" +.TH "NGHTTPD" "1" "June 12, 2015" "1.0.2" "nghttp2" .SH NAME nghttpd \- HTTP/2 experimental server . diff --git a/doc/nghttpx.1 b/doc/nghttpx.1 index 9ed2f825..32b0b1b3 100644 --- a/doc/nghttpx.1 +++ b/doc/nghttpx.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "NGHTTPX" "1" "May 24, 2015" "1.0.1" "nghttp2" +.TH "NGHTTPX" "1" "June 12, 2015" "1.0.2" "nghttp2" .SH NAME nghttpx \- HTTP/2 experimental proxy . @@ -697,6 +697,15 @@ Example: \fI\%\-\-altsvc\fP=h2,443 .UNINDENT .INDENT 0.0 .TP +.B \-\-add\-request\-header=
+Specify additional header field to add to request header +set. This option just appends header field and won\(aqt +replace anything already set. This option can be used +several times to specify multiple header fields. +Example: \fI\%\-\-add\-request\-header\fP="foo: bar" +.UNINDENT +.INDENT 0.0 +.TP .B \-\-add\-response\-header=
Specify additional header field to add to response header set. This option just appends header field and diff --git a/doc/nghttpx.1.rst b/doc/nghttpx.1.rst index ad3f915a..652fa2e7 100644 --- a/doc/nghttpx.1.rst +++ b/doc/nghttpx.1.rst @@ -613,6 +613,14 @@ HTTP times to specify multiple alternative services. Example: :option:`--altsvc`\=h2,443 +.. option:: --add-request-header=
+ + Specify additional header field to add to request header + set. This option just appends header field and won't + replace anything already set. This option can be used + several times to specify multiple header fields. + Example: :option:`--add-request-header`\="foo: bar" + .. option:: --add-response-header=
Specify additional header field to add to response