Just did that, redeployed and it didn't fix anything.

Edited the part below to have  <extension>.css</extension> (adding a
period) and now the workaround to the workaround works.

jon


On Mon, Jan 9, 2012 at 3:16 PM, Amy Unruh <amyu+gro...@google.com> wrote:

> For those affected, it looks like a workaround is to add the following to
> your web.xml:
>
> <mime-mapping>
>  <extension>css</extension>
>  <mime-type>text/css</mime-type>
> </mime-mapping>
>
> On Mon, Jan 2, 2012 at 3:19 PM, Jon Stevens <latch...@gmail.com> wrote:
>
>> Well, it seems it isn't just me, so I just filed a ticket:
>>
>> http://code.google.com/p/googleappengine/issues/detail?id=6655
>>
>> Please star it.
>>
>> jon
>>
>>
>> On Sun, Jan 1, 2012 at 8:13 PM, Carter Maslan <jcmas...@gmail.com> wrote:
>> > we had the same problem and it was solved by updating the css file
>> (with a space) and pushing again (without an app version change).
>>  Appreciate any info you find on preventing this problem. It behaved as
>> though it was a problem in GAE's caching of static files.
>> >
>> >
>> >
>> >
>> > On Dec 30, 2011, at 8:34 PM, jnamnath <jnamn...@gmail.com> wrote:
>> >
>> >> I got it working again by updating the version number in my appengine-
>> >> web.xml and pushing the new version. Still have no idea what happened
>> >> here.
>> >>
>> >> -J
>> >>
>> >> On Dec 24, 4:48 pm, jon stevens <latch...@gmail.com> wrote:
>> >>> Hey there,
>> >>>
>> >>> I've got an app up on GAE-J that when I request a .css file, I get
>> back a
>> >>> Content-Type: null, which is causing Chrome/Safari to not render the
>> page
>> >>> correctly. Any ideas why this would happen? Here is an example of
>> what I
>> >>> see in the Chrome Developer Tools -> Network -> Headers. I tried
>> adding the
>> >>> mime-extension to the web.xml and that didn't do anything.
>> >>>
>> >>> Request URL:http://appid.appspot.com/css/gen/main.css
>> >>> Request Method:GET
>> >>> Status Code:200 OK
>> >>>
>> >>> Request Headers
>> >>> Accept:text/css,*/*;q=0.1
>> >>> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
>> >>> Accept-Encoding:gzip,deflate,sdch
>> >>> Accept-Language:en-US,en;q=0.8
>> >>> Authorization:Basic sldkjf
>> >>> Cache-Control:max-age=0
>> >>> Connection:keep-alive
>> >>> Host:appid.appspot.com
>> >>> If-None-Match:"Cf2J0A"
>> >>> Referer:http://appid.appspot.com/
>> >>> User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2)
>> AppleWebKit/535.7
>> >>> (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
>> >>>
>> >>> Response Headers
>> >>> Cache-Control:public, max-age=600
>> >>> Content-Length:112490
>> >>> Content-Type:null
>> >>> Date:Sun, 25 Dec 2011 00:23:00 GMT
>> >>> ETag:"NfQmpA"
>> >>> Expires:Sun, 25 Dec 2011 00:33:00 GMT
>> >>> Server:Google Frontend
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups "Google App Engine for Java" group.
>> >> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> >> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> >> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>> >>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Google App Engine for Java" group.
>> > To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to