perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raptor <>
Subject Re: dumping the params,headers and so on..
Date Mon, 25 Apr 2005 21:06:46 GMT
I found the problem the matches form-header like this (by memory) ::

if($header_in->get('Content-type') eq 'application/form-urlencoded')  { ..... <--or

but I'm sending :


so I modified it like this :

if($header_in->get('Content-type') =~ m!^application/form-urlencoded!)  { .....

Not sure if has to be modified, that is why I'm posting it :")


|ok, I found it i.e. $Request->BinaryRead(), it shows what I expected i.e.
|the request i sent :
|but it was not in $$Request{Params}, did I miss something !!
|here is the code..
|$Response->Write( Dumper $$Request{Params} );
|$Response->Write( $Request->BinaryRead()  );
|and the dump :
|$VAR1 = bless( {}, 'Apache::ASP::Collection' ); 
||I'm tring to dump the headers and the whole conents as it is recieved from the
||The reason !! I'm tring to build a more interactive app using  javascript-xmlhttp object

||(i.e. building the POST request from the client-side form).
||When I try this with pure perl script it works, but with I doesnt recieve anything
||in $$Request{Params}.
||That is why I want to dump the post-request as it is recieved by
||any idea why it works in pure script but not with

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message