Changeset 29959 for lang/perl/HTTP-Engine
- Timestamp:
- 02/12/09 19:41:15 (4 years ago)
- Files:
-
- 1 modified
-
lang/perl/HTTP-Engine/trunk/t/020_interface/test.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-Engine/trunk/t/020_interface/test.t
r25619 r29959 114 114 OK! 115 115 116 === $req->post_body 117 --- preprocess 118 $req->method('POST'); 119 $req->content("foobar=baz"); 120 $req->content_length( bytes::length($req->content) ); 121 $req->content_type('application/x-www-form-urlencoded'); 122 --- code 123 $res->header('X-Req-Foobar' => $req->body_params->{foobar}); 124 --- response 125 Content-Length: 3 126 Content-Type: text/html 127 Status: 200 128 X-Req-Foobar: baz 129 X-Req-Test: ping 130 131 OK! 132
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)