[mod_python] Simple Issue, Baffling

Jim Gallacher jpg at jgassociates.ca
Thu Jan 26 17:11:04 EST 2006


David Worley wrote:
> I have Firefox set to have no cache. Despite that, I still Shift+Refresh
> when I'm testing a new app.
> 
> It's not that it's holding on to an old request, it's more that the
> server never returned content the browser recognized as CSS, or HTML.
> 
> Thanks for the suggestion, though!


You might find the LiveHTTPheaders extension for Firefox handy for 
examining the server response. http://livehttpheaders.mozdev.org/

I have it installed but I never think to use it. I'm too much in the 
habit of reaching for wget.

Jim


> ===============================
> David Worley
> Senior Front End Developer
> dworley at communityconnect.com
> =============================== 
> 
> -----Original Message-----
> From: mod_python-bounces at modpython.org
> [mailto:mod_python-bounces at modpython.org] On Behalf Of Eric Strand
> Sent: Thursday, January 26, 2006 4:42 PM
> To: mod_python at modpython.org
> Subject: Re: [mod_python] Simple Issue, Baffling
> 
> 
> Might it have to do with browser caching?  In the past I've encounter 
> similar frustration, and realized the browser was being too helpful.
> 
> 
> 
> David Worley wrote:
> 
>>Yeah, typo. Thanks for pointing that out.
>>
>>The preprocessor is going to get a request for a .css file, find a
> 
> .sss
> 
>>file, process it, and return it as CSS.
>>
>>It's correct in the actual program.
>>
>>Believe me, I've combed over everything small like that. I wouldn't
> 
> have
> 
>>written without doing so. It seems like I've missed something in my
>>understanding of the req object, or the content_type property, or in
> 
> the
> 
>>way that AddHandler works.
>>
>>Any ideas?
>>
>>===============================
>>David Worley
>>Senior Front End Developer
>>dworley at communityconnect.com
>>=============================== 
>>
>>-----Original Message-----
>>From: Waitman Gobble [mailto:waitman at waitman.net] 
>>Sent: Thursday, January 26, 2006 4:23 PM
>>To: Jim Gallacher
>>Cc: David Worley; mod_python at modpython.org
>>Subject: Re: [mod_python] Simple Issue, Baffling
>>
>>Sorry to jump in the middle of the conversation, but is
>>
>>AddHandler python-program .sss
>>
>>supposed to be
>>
>>AddHandler python-program .css
>>
>>???
>>
>>Take care,
>>
>>Waitman
>>
>>
>>
>>
>>
>>Jim Gallacher wrote:
>>
>>
>>>David Worley wrote:
>>>
>>>
>>>>I'm writing a CSS preprocessor. It's meant to grab a request for a
>>
>>.css
>>
>>
>>>>So with the following httpd.conf entry:
>>>>
>>>><Directory /some/file/system/directory>
>>>>   AddHandler python-program .sss
>>>>   PythonHandler switch
>>>>   PythonDebug On
>>>></Directory>
>>
>>
>>
>>_______________________________________________
>>Mod_python mailing list
>>Mod_python at modpython.org
>>http://mailman.modpython.org/mailman/listinfo/mod_python
>>
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 



More information about the Mod_python mailing list