On Sat, 11 Apr 2015, Dan Book wrote:
> Perhaps this way:
> my $tx = $ua->build_tx($method => ... normal get/post/etc args ...);
> $ua->start($tx => sub {
> ...
> });
Thanks. I'll try that.
Next problem is what needs to be done to read the request body and
transfer it to the ua. Would that happen automatigically if the req is
cloned? In this case, would Mojo buffer the request? Does anyone have a
gist which proxies a request without reading and caching the request body?
I've found this which deals with some of these issues:
https://larig.wordpress.com/2012/08/01/a-mini-proxy-via-mojolicious/
Thanks all.