in reply to "Unexpected end of stream while looking for line"
sub new { my($class, %args) = @_; my $self = { max_redirect => 5, timeout => 60, # default keep_alive => 1, verify_SSL => $args{verify_SSL} || $args{verify_ssl} || 0, # + no verification by default no_proxy => $ENV{no_proxy}, }; bless $self, $class; $class->_validate_cookie_jar( $args{cookie_jar} ) if $args{cookie_ +jar}; for my $key ( @attributes ) { $self->{$key} = $args{$key} if exists $args{$key} } $self->agent( exists $args{agent} ? $args{agent} : $class->_agent +); $self->_set_proxies; return $self; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Unexpected end of stream while looking for line"
by msh210 (Monk) on Jan 08, 2016 at 19:54 UTC | |
by 1nickt (Canon) on Jan 08, 2016 at 20:09 UTC | |
by hotchiwawa (Scribe) on Jan 09, 2016 at 14:06 UTC |