I noticed a small problem in the HTTP status handling.

For example:
http://demo.habariproject.org/3rdparty/blueprint/do-a-404-kthanks

Sends HTTP 200.

When I was going to fix it, I also noticed that I had trouble with 404s in
general, when I use FastCGI as my PHP SAPI, so I added a Utils::http_status
that wraps the header() calls to make it portable between the different
SAPIs.

(not religious about the method name, what should it be?)

Attached is the patch so far.

Tested to work on my FastCGI PHP/mod_fcgid setup on FreeBSD.

Thanks,

Paul

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Attachment: http-status.patch
Description: Binary data

Reply via email to