Re: dumping the params,headers and so on..

2005-04-25 Thread raptor
I found the problem the Request.pm matches form-header like this (by memory) :: if($header_in->get('Content-type') eq 'application/form-urlencoded') { . <--or so but I'm sending : application/form-urlencoded;charset=win-1251 so I modified it like this : if($header_in->get('Content-type')

Re: dumping the params,headers and so on..

2005-04-24 Thread raptor
ok, I found it i.e. $Request->BinaryRead(), it shows what I expected i.e. the request i sent : param1=value1 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 :

dumping the params,headers and so on..

2005-04-24 Thread raptor
hi, I'm tring to dump the headers and the whole conents as it is recieved from the ASP.pm. 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 wi