[patch] Passing an existing request object to shortcuts methods

2007-10-16 Thread Stas Bekman
I was trying to get GET, POST and other Apache::TestRequest methods to accept a pre-existing HTTP::Request object, rather than pass arguments that will construct one. The reason, I was trying to use HTML::TreeBuilder and HTTP::Request::Form to fill-out a form and submit that, rather than raw

Re: [patch] Passing an existing request object to shortcuts methods

2007-10-16 Thread Geoffrey Young
Stas Bekman wrote: > I was trying to get GET, POST and other Apache::TestRequest methods to > accept a pre-existing HTTP::Request object, rather than pass arguments > that will construct one. > > The reason, I was trying to use HTML::TreeBuilder and > HTTP::Request::Form to fill-out a form and s

Re: [patch] Passing an existing request object to shortcuts methods

2007-10-16 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: I was trying to get GET, POST and other Apache::TestRequest methods to accept a pre-existing HTTP::Request object, rather than pass arguments that will construct one. The reason, I was trying to use HTML::TreeBuilder and HTTP::Request::Form to fill-out

Re: [patch] Passing an existing request object to shortcuts methods

2007-10-16 Thread Fred Moyer
Stas Bekman wrote: Geoffrey Young wrote: Stas Bekman wrote: I was trying to get GET, POST and other Apache::TestRequest methods to accept a pre-existing HTTP::Request object, rather than pass arguments that will construct one. The reason, I was trying to use HTML::TreeBuilder and HTTP::Reques