I'm not familiar with those commands, but here is what they produce:
(Please excuse the formatting.)
lwp-request -m get -USsexd http://mail-scanning/cgi-bin/temp.cgi
skx@gold:~$ lwp-request -m get -USsexd http://mail-scanning/cgi-bin/te
+mp.cgi
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://mail-scanning/cgi-bin/temp.cg
+i
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 8 bytes
LWP::Protocol::collect: read 387 bytes
LWP::UserAgent::request: Simple response: OK
GET http://mail-scanning/cgi-bin/temp.cgi
User-Agent: lwp-request/5.810
GET http://mail-scanning/cgi-bin/temp.cgi --> 200 OK
Connection: close
Date: Thu, 14 Aug 2008 21:15:16 GMT
Location: http://example.com/
Server: Apache/2.2.9 (Debian) PHP/5.2.6-2+b1 with Suhosin-Patch mod_ss
+l/2.2.9 OpenSSL/0.9.8g mod_musicindex/1.2.2 mod_perl/2.0.4 Perl/v5.10
+.0
Content-Type: text/plain
Client-Date: Thu, 14 Aug 2008 21:15:16 GMT
Client-Peer: 192.168.1.10:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
The second lwp-request -m get -USsex http://mail-scanning/cgi-bin/temp.cgi
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://mail-scanning/cgi-bin/temp.cg
+i
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 8 bytes
LWP::Protocol::collect: read 387 bytes
LWP::UserAgent::request: Simple response: OK
GET http://mail-scanning/cgi-bin/temp.cgi
User-Agent: lwp-request/5.810
GET http://mail-scanning/cgi-bin/temp.cgi --> 200 OK
Connection: close
Date: Thu, 14 Aug 2008 21:16:29 GMT
Location: http://example.com/
Server: Apache/2.2.9 (Debian) PHP/5.2.6-2+b1 with Suhosin-Patch mod_ss
+l/2.2.9 OpenSSL/0.9.8g mod_musicindex/1.2.2 mod_perl/2.0.4 Perl/v5.10
+.0
Content-Type: text/plain
Client-Date: Thu, 14 Aug 2008 21:16:29 GMT
Client-Peer: 192.168.1.10:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
redirect<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The document has moved <a href="http://example.com/">here</a>.</p>
<hr>
<address>Apache/2.2.9 (Debian) PHP/5.2.6-2+b1 with Suhosin-Patch mod_s
+sl/2.2.9 OpenSSL/0.9.8g mod_musicindex/1.2.2 mod_perl/2.0.4 Perl/v5.1
+0.0 Server at mail-scanning Port 80</address>
</body></html>
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Outside of code tags, you may need to use entities for some characters:
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|