Skip to content
Test::HTTP - Library for HTTP based testing http://search.cpan.org/dist/Test-HTTP/
Perl
Find file
Pull request Compare This branch is 13 commits ahead, 6 commits behind socialtext:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
debian
examples
lib/Test
t
Changes
MANIFEST
Makefile.PL
README

README

Test::HTTP is designed to make it easier to write tests which are
mainly about HTTP-level things, such as REST-type services.  In
particular, with the syntax filter in Test::HTTP::Syntax, it becomes
extremely natural to write HTTP tests:

  use Test::HTTP '-syntax', tests => 9;

  test_http 'echo test' {
      >> GET http://localhost:12345/echo/foo
      >> Accept: text/plain

      << 200
      ~< Content-type: ^text/plain\b
      <<
      << foo
  }

See the included POD for further documentation.
Something went wrong with that request. Please try again.