use warnings;
use strict;

use Test::HTTP tests => 2;

{
    my $test = Test::HTTP->new('GET basic');

    $test->get('http://www.socialtext.com/');
    $test->status_code_is(200);
}

{
    my $test = Test::HTTP->new('GET utf8-crap');
    my $uri = 'http://en.wikipedia.org/wiki/£';
    $test->get($uri);
    $test->status_code_is(200);
}
