I reproduced the curl command with UserAgent successfully, and fixed my
confusion with the headers. Now I just have to be able to stream the
results to the browser. Here is the heart of my initial attempt, where
$globalC points to the controller argument that should send data to the
browser.
Please don't use HTML for formatting, the code is completely unreadable.
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to mojolicious+unsubscr...@goo
My sincere apologies. The two scraps are:
$tx->res->content->unsubscribe('read')->on(read => sub {
my($content, $bytes) = @_;
our $globalC;
our $digester;
our $transferLength;
our $contentLength;
if (!$content->headers->header('headersWritten')) {
foreach my $