On Jul 18, 2010, at 4:10 PM, MikeEllis wrote:

> Here's the Header info from the long fetch on base.css:
> 
> Request URL:http://192.168.253.105:8000/init/static/base.css
> Request Method:GET
> Status Code:304 Not Modified
> 
> Request Headers
> Accept:text/css,*/*;q=0.1
> Cache-Control:max-age=0
> If-Modified-Since:Mon, 14 Jun 2010 23:30:00 GMT
> Referer:http://192.168.253.105:8000/init/editproblem/index
> User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US)
> AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
> 
> Response Headers
> Connection:keep-alive
> Content-Type:text/html; charset=UTF-8
> Date:Sun, 18 Jul 2010 22:32:09 GMT
> Server:Rocket 1.0.5 Python/2.6.1

Notice that this is Rocket's cached response. I think you'll see the original 
file being served as text/css.

By comparison, I don't see a Content-Type in Apache's response (this is from 
Safari's debugger). Apache does include a couple of headers that Rocket does 
not.

        • Request URL:http://web2py.com/examples/static/styles.css
        • Request Method:GET
        • Status Code:
304 Not Modified
        • Request Headers
                • Accept:text/css,*/*;q=0.1
                • Cache-Control:max-age=0
                • If-Modified-Since:Sat, 17 Jul 2010 15:14:16 GMT
                • If-None-Match:"42f90-d44-48b96c9edc200"
                • Referer:http://web2py.com/
                • User-Agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; 
en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
        • Response Headers
                • Cache-Control:max-age=86400
                • Connection:Keep-Alive
                • Date:Mon, 19 Jul 2010 14:47:39 GMT
                • Etag:"42f90-d44-48b96c9edc200"
                • Expires:Tue, 20 Jul 2010 14:47:39 GMT
                • Keep-Alive:timeout=2, max=15
                • Server:Apache/2.2.8 (Ubuntu) mod_wsgi/3.2-BRANCH Python/2.5.2 
mod_ssl/2.2.8 OpenSSL/0.9.8g

<<inline: warningOrangeDot.png>>

Reply via email to