OS Manuals

/usr/bin/lwp-request

The World-Wide Web library for Perl

From perl-libwww 6.83-r5 (os), captured 2026-11-05 by running lwp-request --help (exit 255). permalink

Unknown option: help
Usage: lwp-request [-options] <url>...
    -m <method>   use method for the request (default is 'GET')
    -f            make request even if lwp-request believes method is illegal
    -b <base>     Use the specified URL as base
    -t <timeout>  Set timeout value
    -i <time>     Set the If-Modified-Since header on the request
    -c <conttype> use this content-type for POST, PUT, PATCH
    -a            Use text mode for content I/O
    -p <proxyurl> use this as a proxy
    -P            don't load proxy settings from environment
    -H <header>   send this HTTP header (you can specify several)
    -C <username>:<password>
                  provide credentials for basic authentication

    -u            Display method and URL before any response
    -U            Display request headers (implies -u)
    -s            Display response status code
    -S            Display response status chain (implies -u)
    -e            Display response headers (implies -s)
    -E            Display whole chain of headers (implies -S and -U)
    -d            Do not display content
    -o <format>   Process HTML content in various ways

    -v            Show program version
    -h            Print this message
Options (21)
OptionDescriptionSource
-m methoduse method for the request (default is 'GET')help + man
-fForce request through, even if the program believes that the method is illegal.help + man
-b baseThis URI will be used as the base URI for resolving all relative URIs given as argument.help + man
-t timeoutSet the timeout value for the requests.help + man
-i timeSet the If-Modified-Since header in the request.help + man
-aSet text(ascii) mode for content input and output.help + man
-PDon't load proxy settings from environment.help + man
-H headersend this HTTP header (you can specify several)help + man
-C username>:<passwordProvide credentials for documents that are protected by Basic Authentication.help + man
-uPrint request method and absolute URL as requests are made.help + man
-UPrint request headers in addition to request method and absolute URL.help + man
-sDisplay response status codehelp + man
-SDisplay response status chain (implies -u)help + man
-eDisplay response headers (implies -s)help + man
-EPrint response status chain with full response headers.help + man
-dDo not print the content of the response.help + man
-o formatProcess HTML content in various ways before printing it.help + man
-vPrint the version number of the program and quit.help + man
-hPrint usage message and quit.help + man
-c content-typeSet the Content-Type for the request. (in the manual page but not in --help)man
-p proxy-urlSet the proxy to be used for the requests. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.