| 1 | package HTTP::Engine::Role::Response; | ||
| 2 | use Any::Moose '::Role'; | ||
| 3 | |||
| 4 | requires qw( | ||
| 5 | context | ||
| 6 | |||
| 7 | body | ||
| 8 | |||
| 9 | status | ||
| 10 | |||
| 11 | headers | ||
| 12 | cookies | ||
| 13 | location | ||
| 14 | header | ||
| 15 | content_type content_length content_encoding | ||
| 16 | |||
| 17 | protocol | ||
| 18 | redirect | ||
| 19 | |||
| 20 | set_http_response | ||
| 21 | |||
| 22 | finalize | ||
| 23 | ); | ||
| 24 | |||
| 25 | 1; | ||
| 26 |