GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LWP-DUMP (1)

.ds Aq ’

NAME

lwp-dump - See what headers and content is returned for a URL

CONTENTS

SYNOPSIS

<B>lwp-dumpB> [ options ] URL

DESCRIPTION

The <B>lwp-dumpB> program will get the resource identified by the URL and then dump the response object to STDOUT. This will display the headers returned and the initial part of the content, escaped so that it’s safe to display even binary content. The escapes syntax used is the same as for Perl’s double quoted strings. If there is no content the string (no content) is shown in its place.

The following options are recognized:
<B>--agentB> str Override the user agent string passed to the server.
<B>--keep-client-headersB> LWP internally generate various Client-* headers that are stripped by <B>lwp-dumpB> in order to show the headers exactly as the server provided them. This option will suppress this.
<B>--max-lengthB> n How much of the content to show. The default is 512. Set this to 0 for unlimited.

If the content is longer then the string is chopped at the limit and the string ...\n(### more bytes not shown) appended.

<B>--methodB> str Use the given method for the request instead of the default GET.
<B>--parse-headB> By default <B>lwp-dumpB> will not try to initialize headers by looking at the head section of HTML documents. This option enables this. This corresponds to parse_head in LWP::UserAgent.
<B>--requestB> Also dump the request sent.

SEE ALSO

lwp-request, LWP, dump in HTTP::Message
Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 LWP-DUMP (1) 2015-12-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.