Skip to content
Browse files

enable response compression by default

  • Loading branch information...
1 parent b24ae75 commit b926150d13154a531161f49a70af22bd17b565e6 @gray committed Mar 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Geo/Coder/Multimap.pm
View
2 lib/Geo/Coder/Multimap.pm
@@ -29,7 +29,7 @@ sub new {
$self->ua->set_my_handler(request_send => $dump_sub);
$self->ua->set_my_handler(response_done => $dump_sub);
}
- elsif ($self->{compress}) {
+ elsif (exists $self->{compress} ? $self->{compress} : 1) {
$self->ua->default_header(accept_encoding => 'gzip,deflate');
}

0 comments on commit b926150

Please sign in to comment.
Something went wrong with that request. Please try again.