One more info that could be relevant. The mime type is application/x-
silverlight-2; the file extension is xap.

On Mar 16, 12:04 pm, JC <[email protected]> wrote:
> I suspect that somehow GAE is not treating the resource as static file
> - specifically with its xap file extension.
>
> I tried setting a custom mime-mapping in web.xml for the xap
> extension, and also tried to declare it as static file using the
> static-files tag in appengine-web.xml. None worked.
> In summary, we have gone over the outside server possibility, the date
> format issue. The file is not located under WEB-INF directory. All of
> them don't seem to be the cuase of the issue.
>
> Please advise.
>
> Thanks,
>
> On Mar 16, 10:37 am, JC <[email protected]> wrote:
>
>
>
> > I see what you mean.
>
> > In my case, the resource (with .xap extension, don't know if that
> > matters) resides in GAE server as part of the deployed web app; there
> > is not URL Fetch to fetch the resource from outside server. The
> > resource is not located in the WEB-INF directory either; it is located
> > under a directory called ClientBin under root. It is a static file
> > that I thought should be treated like other static files; say, a jpg
> > file.
>
> > On Mar 16, 2:15 am, Alkis Evlogimenos ('Αλκης Ευλογημένος)
>
> > <[email protected]> wrote:
> > > Ermm.... ok lets try for a third time :-). Say you have a GAE app and you
> > > fetch pages from cnn.com. If cnn.com does not supportIf-Modified-Sincethen
> > > you are never getting 304's back, no matter what headers you put in your
> > > request. It has nothing to do with GAE.
>
> > > In the example above "server" is cnn.com.
>
> > > - alkis
>
> > > 2010/3/16 JC <[email protected]>
>
> > > > Are you saying that not all GAE servers running in the Google data
> > > > center supportIf-Modified-Since? Can you elaborate a bit more? The
> > > > Java app was deployed to GAE data center which I assume is running the
> > > > latest 1.3.1 which claims to support conditional Get.
>
> > > > On Mar 15, 6:15 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
> > > > <[email protected]> wrote:
> > > > > With server I mean the server you are fetching pages from. That server
> > > > might
> > > > > not have support forIf-Modified-Since.
>
> > > > > - alkis
>
> > > > > 2010/3/16 JC <[email protected]>
>
> > > > > > Thanks for the prompt reply!
>
> > > > > > I don't quite understand what you meant by server not supporting it.
> > > > > > It is running against central GAE server, not my local development
> > > > > > server.
>
> > > > > > As for the date format, This is the dump of the HTTP header through 
> > > > > > a
> > > > > > network sniffer as follow.. It seems to be conforming to HTTP spec. 
> > > > > > Do
> > > > > > you see anything wrong?
>
> > > > > > GET /ClientBin/oob.xap HTTP/1.1
> > > > > >If-Modified-Since: Tue, 16 Mar 2010 00:28:17 GMT
> > > > > > User-Agent: Silverlight
>
> > > > > > Thanks,
>
> > > > > > On Mar 15, 2:22 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
> > > > > > <[email protected]> wrote:
> > > > > > >If-Modified-Sinceworks in GAE. Either the server you are hitting
> > > > does
> > > > > > not
> > > > > > > support it, or you are sending it a timestamp it doesn't 
> > > > > > > understand.
>
> > > > > > > - alkis
>
> > > > > > > On Mon, Mar 15, 2010 at 6:28 PM, JC <[email protected]> wrote:
> > > > > > > > GAE 1.3.1 for Java includes a fix (issue 575) to support
> > > > conditional
> > > > > > > > get for static files. I have tried sendingIf-Modified-SinceGet
> > > > > > > > header to retrieve a static file from GAE, It always returns 200
> > > > (with
> > > > > > > > full payload) instead of 304 (unmodified) even though the static
> > > > file
> > > > > > > > hasn't been changed for a while. I have cleared my browser 
> > > > > > > > cache so
> > > > > > > > that the timestamp in theIf-Modified-Sinceis current timestamp.
> > > > It
> > > > > > > > doesn't seem to work. Has anyone usedIf-Modified-Sinceon 1.3.1
> > > > with
> > > > > > > > success?
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the 
> > > > > > > > Google
> > > > > > Groups
> > > > > > > > "Google App Engine" group.
> > > > > > > > To post to this group, send email to
> > > > [email protected]
> > > > > > .
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > [email protected]<google-appengine%2bunsubscrib­­[email protected]>
> > > > <google-appengine%[email protected]>
> > > > > > <google-appengine%[email protected]>
> > > > > > > > .
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/google-appengine?hl=en.-Hidequoted
> > > > > > text -
>
> > > > > > > - Show quoted text -
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Google App Engine" group.
> > > > > > To post to this group, send email to 
> > > > > > [email protected]
> > > > .
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected]<google-appengine%2bunsubscrib­­[email protected]>
> > > > <google-appengine%[email protected]>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-appengine?hl=en.-Hidequoted
> > > > text -
>
> > > > > - Show quoted text -
>
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups
> > > > "Google App Engine" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-appengine%2bunsubscrib­­[email protected]>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-appengine?hl=en.-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to