File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,10 @@ requests that are handled by the library.
116116
117117Print response headers. This option is always on for HEAD requests.
118118
119+ =item -E
120+
121+ Print response status chain with full response headers.
122+
119123=item -d
120124
121125Do B<not > print the content of the response.
@@ -326,6 +330,7 @@ elsif (!defined $allowed_methods{$method}) {
326330if ($options {' S' } || $options {' E' }) {
327331 $options {' U' } = 1 if $options {' E' };
328332 $options {' E' } = 1 if $options {' e' };
333+ $options {' S' } = 1;
329334 $options {' s' } = 1;
330335 $options {' u' } = 1;
331336}
@@ -526,9 +531,9 @@ Usage: $progname [-options] <url>...
526531 -u Display method and URL before any response
527532 -U Display request headers (implies -u)
528533 -s Display response status code
529- -S Display response status chain
530- -e Display response headers
531- -E Display whole chain of headers
534+ -S Display response status chain (implies -u)
535+ -e Display response headers (implies -s)
536+ -E Display whole chain of headers (implies -S and -U)
532537 -d Do not display content
533538 -o <format> Process HTML content in various ways
534539
You can’t perform that action at this time.
0 commit comments