1 .\" Man page generated from reStructuredText.
3 .TH "NGHTTP" "1" "February 08, 2015" "0.7.4-DEV" "nghttp2"
5 nghttp \- HTTP/2 experimental client
7 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
19 .\" .rstReportMargin pre:
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
23 .\" .rstReportMargin post:
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
31 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
35 \fBnghttp\fP [OPTIONS]... <URI>...
38 HTTP/2 experimental client
42 Specify URI to access.
48 Print debug information such as reception and
49 transmission of frames and name/value pairs. Specifying
50 this option multiple times increases verbosity.
55 Discard downloaded data.
59 .B \-O, \-\-remote\-name
60 Save download data in the current directory. The
61 filename is dereived from URI. If URI ends with \(aq\fI/\fP\(aq,
62 \(aqindex.html\(aq is used as a filename. Not implemented
67 .B \-t, \-\-timeout=<SEC>
68 Timeout each request after <SEC> seconds.
72 .B \-w, \-\-window\-bits=<N>
73 Sets the stream level initial window size to 2**<N>\-1.
77 .B \-W, \-\-connection\-window\-bits=<N>
78 Sets the connection level initial window size to
83 .B \-a, \-\-get\-assets
84 Download assets such as stylesheets, images and script
85 files linked from the downloaded resource. Only links
86 whose origins are the same with the linking resource
87 will be downloaded. nghttp prioritizes resources using
88 HTTP/2 dependency based priority. The priority order,
89 from highest to lowest, is html itself, css, javascript
99 .B \-H, \-\-header=<HEADER>
100 Add a header to the requests. Example: \fI\%\-H\fP\(aq:method: PUT\(aq
105 Use the specified client certificate file. The file
106 must be in PEM format.
111 Use the client private key file. The file must be in
116 .B \-d, \-\-data=<FILE>
117 Post FILE to server. If \(aq\-\(aq is given, data will be read
122 .B \-m, \-\-multiply=<N>
123 Request each URI <N> times. By default, same URI is not
124 requested twice. This option disables it too.
129 Perform HTTP Upgrade for HTTP/2. This option is ignored
130 if the request URI has https scheme. If \fI\-d\fP is used, the
131 HTTP upgrade request is performed with OPTIONS method.
135 .B \-p, \-\-weight=<WEIGHT>
136 Sets priority group weight. The valid value range is
143 .B \-M, \-\-peer\-max\-concurrent\-streams=<N>
144 Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value of
145 remote endpoint as if it is received in SETTINGS frame.
146 The default is large enough as it is seen as unlimited.
150 .B \-c, \-\-header\-table\-size=<SIZE>
151 Specify decoder header table size.
155 .B \-b, \-\-padding=<N>
156 Add at most <N> bytes to a frame payload as padding.
157 Specify 0 to disable padding.
161 .B \-r, \-\-har=<FILE>
162 Output HTTP transactions <FILE> in HAR format. If \(aq\-\(aq
163 is given, data is written to stdout.
168 Force colored log output.
173 Send large header to test CONTINUATION.
177 .B \-\-no\-content\-length
178 Don\(aqt send content\-length header field.
183 Don\(aqt send dependency based priority hint to server.
188 Use idle streams as anchor nodes to express priority.
193 Display version information and exit.
198 Display this help and exit.
201 The <SIZE> argument is an integer and an optional unit (e.g., 10K is
202 10 * 1024). Units are K, M and G (powers of 1024).
205 \fInghttpd(1)\fP, \fInghttpx(1)\fP, \fIh2load(1)\fP
209 2012, 2015, Tatsuhiro Tsujikawa
210 .\" Generated by docutils manpage writer.