Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.243 kb
f584f98 Jiro Nishiguchi Initial commit
authored
1 package MyApp;
2 use Test::More tests => 2;
3 use Schenker;
4 use HTTP::Request::Common;
5
6 enable 'static';
7
8 my $res = Schenker::run(GET 'http://localhost/test.txt');
9 like($res->content, qr/this is test\.txt/);
10 is($res->content_type, 'text/plain');
11
Something went wrong with that request. Please try again.