Forum Moderators: phranque

Message Too Old, No Replies

?ok to only use http/1.1

         

davidpbrown

4:36 pm on Oct 16, 2003 (gmt 0)

10+ Year Member



I'm constructing simple headers for a few php files and wondering if serving up only http/1.1 headers is ok, or just plain ignorant.

For all my searching, I've only found a few suggestions of slight differences but nothing on effect.

What effect would giving all comers a http/1.1 response have?
or must I detect the http version? (and if so how in php?)

Thanks
davidpbrown

coopster

4:59 pm on Oct 16, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Well, the standards have been out for what, 4 + years now, right? I wouldn't see an issue. You can read more about the header function in the PHP Manual [us3.php.net], which has a link to the HTTP/1.1 specification.

davidpbrown

5:47 pm on Oct 16, 2003 (gmt 0)

10+ Year Member



Thanks coopster.

That 1.1 has been out a while had me thinking it might be redundant, but then I've just checked a ~recent weblog which suggests that Google still uses http/1.0 in it's requests.

closed

5:58 pm on Oct 16, 2003 (gmt 0)

10+ Year Member



ModLogAn says that around 10% of requests to my site over the last two months are HTTP/1.0.

coopster

8:35 pm on Oct 16, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I would say it's going to come down to your target audience then. Considerations, considerations...