Conteg Content Negotiation
This Class is used to negotiate the current HTTP Request response. It issues full Response headers, and can change the response depending on the Request headers sent by the browser (exactly as web-servers do for static files). It will serve load-balanced compressed output if the browser supports it & the response content type is worth it, (HTML, XML, plain text, etc.) (Accept-Encoding). It can also avoid sending content if previously sent and cached to the browser & not changed since then (304 Not Modified). It can also send a part of the content if the browser requests it (206 Partial Content). The class will send Content-Type, Content-Language, Expiry, Cache-Control Response headers, plus report the Referer, browser User-Agent & OS. The class can serve custom Error-Pages, auto-fixed for serving to MSIE browsers (404 Not Found, 410 Gone, & other). 3 lines of code to implement. All setup parameters have defaults. All defaults may be changed. < 0.002 secs. In active use.
Visit publisher site: Conteg Content NegotiationListing Details
- Version:
- 0.13
- Filed in:
-
Scripts / PHP / Scripts & Programs / Miscellaneous
- Submitted on:
- Last Updated:
- Mar 13, 2007
- Publisher:
- Alex Kemp Other listings by this publisher
License & Pricing Information
- License Type:
- LGPL
- Price:
- $0.00 USD
- Additional Info:
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for Conteg Content Negotiation