Author: Thomas Scholz aka toscho
This work is licensed under the GPL.
Currently, there are two classes in this package, HTTP_Response and HTTP_Auth.
This class handles general HTTP responses: MIME types, client caches, redirects and gzip compression.
There’s also support for Content Negotiation but I recommend to avoid the efforts and send just
text/html to everyone.
text/html;charset=utf-8 just use:
That’s it. HTTP_Response will compress the output on demand and set an expiration date based on the age of the last modified file from all your includes.
Further instructions are on my todo list …
This class handles Basic Authentication in UTF-8. See
auth_example.php for usage.
My plan is to make my class
HTTP_Negotiate public. If you find any bugs or if you have some hints feel free to use the Issue Tracker.