I could not find the place where the whole request is collected to print it out. But hopefully in the HTTP 1.0 protocol implementation this seems to be printed out by the Debug methods (this time I did not care to edit it, and there are double newlines where were the <CR> were):
LWP::UserAgent::new: () LWP::UserAgent::proxy: http http://wawprx01.waw.nestle.pl LWP::UserAgent::request: () LWP::UserAgent::send_request: GET http://www.perlmonks.org?zbyspecialp +arameter=1 LWP::UserAgent::_need_proxy: Proxied to http://wawprx01.waw.nestle.pl LWP::Protocol::http10::request: () LWP::Protocol::http10::request: GET http://www.perlmonks.org?zbyspecia +lparameter=1 HTTP/1.0 Host: www.perlmonks.org User-Agent: MyApp/0.1 libwww-perl/5.68 LWP::Protocol::http10::request: reading response LWP::Protocol::http10::request: HTTP/1.1 400 Bad Request Server: Microsoft-IIS/4.0 Date: Tue, 15 Apr 2003 08:41:24 GMT Content-Type: text/html Content-Length: 87 <html><head><title>Error</title></head><body>The parameter is incorrec +t. </body></html> LWP::Protocol::http10::request: HTTP/1.1 400 Bad Request LWP::Protocol::collect: read 87 bytes LWP::UserAgent::request: Simple response: Bad Request
In the HTTP 1.1 protocol I did check the html output and error code to be the same.

In reply to Re: Re: LWP::UserAgent on cygwin and Microsoft Proxy (more data) by zby
in thread LWP::UserAgent on cygwin and Microsoft Proxy by zby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.