8 **nghttp** [OPTIONS]... <URI>...
13 HTTP/2 experimental client
17 Specify URI to access.
22 .. option:: -v, --verbose
24 Print debug information such as reception and
25 transmission of frames and name/value pairs. Specifying
26 this option multiple times increases verbosity.
28 .. option:: -n, --null-out
30 Discard downloaded data.
32 .. option:: -O, --remote-name
34 Save download data in the current directory. The
35 filename is dereived from URI. If URI ends with '*/*',
36 'index.html' is used as a filename. Not implemented
39 .. option:: -t, --timeout=<SEC>
41 Timeout each request after <SEC> seconds.
43 .. option:: -w, --window-bits=<N>
45 Sets the stream level initial window size to 2\*\*<N>-1.
47 .. option:: -W, --connection-window-bits=<N>
49 Sets the connection level initial window size to
52 .. option:: -a, --get-assets
54 Download assets such as stylesheets, images and script
55 files linked from the downloaded resource. Only links
56 whose origins are the same with the linking resource
57 will be downloaded. nghttp prioritizes resources using
58 HTTP/2 dependency based priority. The priority order,
59 from highest to lowest, is html itself, css, javascript
62 .. option:: -s, --stat
66 .. option:: -H, --header=<HEADER>
68 Add a header to the requests. Example: :option:`-H`\':method: PUT'
70 .. option:: --cert=<CERT>
72 Use the specified client certificate file. The file
73 must be in PEM format.
75 .. option:: --key=<KEY>
77 Use the client private key file. The file must be in
80 .. option:: -d, --data=<FILE>
82 Post FILE to server. If '-' is given, data will be read
85 .. option:: -m, --multiply=<N>
87 Request each URI <N> times. By default, same URI is not
88 requested twice. This option disables it too.
90 .. option:: -u, --upgrade
92 Perform HTTP Upgrade for HTTP/2. This option is ignored
93 if the request URI has https scheme. If :option:`-d` is used, the
94 HTTP upgrade request is performed with OPTIONS method.
96 .. option:: -p, --weight=<WEIGHT>
98 Sets priority group weight. The valid value range is
103 .. option:: -M, --peer-max-concurrent-streams=<N>
105 Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value of
106 remote endpoint as if it is received in SETTINGS frame.
107 The default is large enough as it is seen as unlimited.
109 .. option:: -c, --header-table-size=<SIZE>
111 Specify decoder header table size.
113 .. option:: -b, --padding=<N>
115 Add at most <N> bytes to a frame payload as padding.
116 Specify 0 to disable padding.
118 .. option:: -r, --har=<FILE>
120 Output HTTP transactions <FILE> in HAR format. If '-'
121 is given, data is written to stdout.
125 Force colored log output.
127 .. option:: --continuation
129 Send large header to test CONTINUATION.
131 .. option:: --no-content-length
133 Don't send content-length header field.
137 Don't send dependency based priority hint to server.
139 .. option:: --dep-idle
141 Use idle streams as anchor nodes to express priority.
143 .. option:: --version
145 Display version information and exit.
147 .. option:: -h, --help
149 Display this help and exit.
152 The <SIZE> argument is an integer and an optional unit (e.g., 10K is
153 10 * 1024). Units are K, M and G (powers of 1024).
158 :manpage:`nghttpd(1)`, :manpage:`nghttpx(1)`, :manpage:`h2load(1)`