root/lang/perl/HTTP-Engine-Middleware/trunk/t/lib/Middleware/Three.pm
@
29776
| Revision 29776, 218 bytes (checked in by yappo, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | package Middleware::Three; |
| 2 | use HTTP::Engine::Middleware; |
| 3 | |
| 4 | before_handle { |
| 5 | HTTP::Engine::Response->new( body => 'ERROR1' ); |
| 6 | }; |
| 7 | after_handle { |
| 8 | HTTP::Engine::Response->new( body => 'ERROR3' ); |
| 9 | }; |
| 10 | __MIDDLEWARE__ |
| 11 | |
| 12 |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)