Feature Request #3767
Response::send_headers() should respect the CLI interface
| Status: | Closed | Start date: | 02/17/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Core | |||
| Target version: | v3.1.2 | |||
| Resolution: | fixed | Points: |
Description
Response::send_headers() method should not try and set headers if Kohana::$is_cli is TRUE. Headers cannot be sent in CLI mode, and it also makes testing the send_header() and associated methods very difficult.
Associated revisions
Fixes #3767, headers are only sent by PHP if Kohana::$is_cli is FALSE
Skipped tests can now be run again as normal
History
Updated by Sam de Freyssinet over 2 years ago
- Resolution set to fixed
Updated by Sam de Freyssinet over 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset commit:bf0175f6cd98a42d977c9deb244148c5c005825a.