|
Posted by Janwillem Borleffs on 11/15/35 11:23
Chris wrote:
> Yes, that's it. Have a look at the HTTP-RFC, it's a bit more
> complicated. There's not only the If-Modified-Since header, but
> there's also a If-Match-, If-None-Match-, If-Range-, Vary-, and other
> headers.
>
I know, I used the if-modified-since header as an example. What you should
do is determine which headers you want to implement support for, implement
them according to specifications and collect them in a class or a set of
functions. Developers tend to write code only for what they need and most
HTTP headers are seldom used on the PHP programming level
JW
..
[Back to original message]
|