mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Silly typo: the constructor arguments don't go on the class, duh
This commit is contained in:
parent
78d5b8954c
commit
f865cddc1c
@ -55,7 +55,7 @@ sub init {
|
||||
sub get {
|
||||
my $self = shift;
|
||||
my($app, $uri) = @_;
|
||||
my $request = HTTP::Request('GET', $uri)->new();
|
||||
my $request = HTTP::Request->new('GET', $uri);
|
||||
my $response = $self->ua->request($request);
|
||||
# XXX no error handling
|
||||
# XXX headers are not returned
|
||||
|
Loading…
Reference in New Issue
Block a user