You are here: Re: [PHP] HTML Header Location - relative URI issue « PHP « IT news, forums, messages
Re: [PHP] HTML Header Location - relative URI issue

Posted by Jaepil on 10/03/05 04:26

Jasper Bryant-Greene wrote:
> Jaepil Kim wrote:
>
>> HTML 1.1 specifies that Location in HTML Header should be absolute URI.
>> Also says that some of the browsers will not work with relative URI.
>>
>> Can anyone show me which browsers fail to work with *relative URI* in a
>> HTML Header Location?
>
>
> I assume you mean HTTP 1.1, not HTML 1.1. IMHO the question you should
> be asking is why would you want to knowingly disobey the standard and
> send a relative URI? It's not exactly difficult to send an absolute URI
> in any circumstance I can think of.
>
> There is no guarantee that future user agents will continue to work with
> your website if you do send a relative URI, as they are usually (albeit
> loosely) based around the standards, which require an absolute URI [1].
>
> [1] http://w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

Thanks for the reply.

The situation is that I'm working with code that was written by someone
else. And relative URIs were used all over the place.

I had to decide how serious this is, that's why I had to ask a rather
stupid question.

Regards,

Jaepil

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация