Malcolm Tredinnick wrote:
[...]
> (5) Checked the HTML that was returned by curl (that was why I used "-i"
> and not just "-I"), since it's now clear that the returned HTML contains
> the problem and noticed the error on the second attempt.
> 
> You're using the deprecated "background" attribute on the body element.
> The description of "background" from the HTML spec (section 7.5.1 -- the
> body element) says
> 
>         The value of this attribute is a URI that designates an image
>         resource.
>         
> Note that it's a URI. That means something that is retrieved. Since
> you've used the value "#fff", that will be interpreted by the browser as
> a reference to the current page (#fff being an anchor, and not passed to
> the server). Ergo, a second request is made.
> 
> The moral is (again) "don't put style elements in your HTML", I
> guess. :-)
> 
Nice piece of debugging!

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to