Silly typo: the constructor arguments don't go on the class, duh

This commit is contained in:
ian%hixie.ch 2002-09-06 01:54:14 +00:00
parent 78d5b8954c
commit f865cddc1c

View File

@ -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