in reply to Re: submit Form with Lynx but not Perl?
in thread submit Form with Lynx but not Perl?
This is from Lynx:
this I got using Perl (I set in Perl the User-Agent to Lynx 2.8.4rel.1, it could be ...):LYCookie: Searching for 'subscriber.chello.at:80', '/sms/index.php3'. Composing Authorization for subscriber.chello.at:80/sms/index.php3 HTAASetup_lookup: No template matched `sms/index.php3' (so probably no +t protected) HTTP: Not sending authorization (yet). Writing: GET /sms/index.php3 HTTP/1.0 Host: subscriber.chello.at .... ---------------------------------- HTTP Request is sent. HTTP: WRITE delivered OK HTTP Request sent; waiting for answer. HTTP: Trying to read 1535 HTTP: Read 1448 HTTP: Rx: HTTP/1.1 200 OK HTTP: Scanned 2 fields from line_buffer --- Talking HTTP1. HTTP/1.1 200 OK .... Connection: close
The content of the response (rc=200) is the initial web-page. It is not the next form to enter the sms text._protocol => HTTP/1.1 _request => HTTP::Request=HASH(0x84e226c) _headers => HTTP::Headers=HASH(0x84e8fac) _previous => HTTP::Response=HASH(0x84dfda0) _msg => OK _rc => 200
Here are the Information of Previous, Headers and Request:
Previous: _protocol => HTTP/1.1 _request => HTTP::Request=HASH(0x84e22a8) _headers => HTTP::Headers=HASH(0x84dfd94) _rc => 302 _msg => Found _content => Previous-Headers: client-transfer-encoding => chunked client-response-num => 1 location => /sms/index.php3 content-type => text/html server => Apache/1.3.26 (Unix) PHP/4.2.1 connection => close date => Tue, 06 Aug 2002 09:28:00 GMT x-powered-by => PHP/4.2.1 client-date => Tue, 06 Aug 2002 09:28:00 GMT Previous-Request: _method => POST _headers => HTTP::Headers=HASH(0x84e229c) _uri => http://subscriber.chello.at/sms/austria.php3 _content => austria=43699&image.x=0&image.y=0 Previous-Request-Headers: user-agent => Lynx/2.8.4rel.1 content-type => application/x-www-form-urlencoded content-length => 33 - - - - - - Request: _method => POST _headers => HTTP::Headers=HASH(0x84dfaac) _uri => http://subscriber.chello.at/sms/index.php3 _content => austria=43699&image.x=0&image.y=0 Request-Headers: user-agent => Lynx/2.8.4rel.1 content-type => application/x-www-form-urlencoded content-length => 33 - - - - - - Headers: client-transfer-encoding => chunked client-response-num => 1 title => hello, i'm chello content-type => text/html server => Apache/1.3.26 (Unix) PHP/4.2.1 x-meta-author => chello broadband B.V 1999 date => Tue, 06 Aug 2002 09:28:05 GMT connection => close x-powered-by => PHP/4.2.1 link => </dhtml/style/sliding.css>; rel="stylesheet"; type="text/css" client-date => Tue, 06 Aug 2002 09:28:10 GMT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: submit Form with Lynx but not Perl?
by grantm (Parson) on Aug 06, 2002 at 21:15 UTC | |
by Anonymous Monk on Aug 07, 2002 at 11:03 UTC | |
by grantm (Parson) on Aug 07, 2002 at 22:56 UTC | |
by Anonymous Monk on Aug 09, 2002 at 17:42 UTC | |
by Anonymous Monk on Aug 07, 2002 at 09:02 UTC |