Hey Peter,

Questions like this are better suited to stackoverflow 
<http://stackoverflow.com/>rather than the App Engine groups forum, as this 
place is more for general discussion of the platform. The issue you've 
encountered is a common web development issue that has several good 
resources out there describing the behaviour. You might want to read up 
about HTTP headers 
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers>, the Content-Type 
header <http://www.w3.org/Protocols/rfc1341/4_Content-Type.html>, the CURL 
<http://curl.haxx.se/docs/manpage.html> tool for inspecting the response 
from web-servers to an HTTP request, which is very useful when debugging.

What's happening is that your browser is downloading the served response, 
rather than displaying it, because you have Content-Type: 
application/octet-stream instead of Content-Type: text/html. Based on the 
fact that you set a JSESSIONID cookie, it appears that your app is written 
using Java servlets. Inspect the servlet that's active on the / route, 
which is responsible for serving the content. Either that servlet, or a 
filter on the servlet's response, is setting the content-type incorrectly.

On Friday, June 19, 2015 at 6:25:44 AM UTC-4, Peter Reguli wrote:
>
> Hello,
>
> our Java webpage deployed in Google AppEngine created in Eclipse with 
> Google plugin suddenly stopped working correctly. Instead of rendering 
> homepage, the index file is being downloaded by the browser - as you can 
> see on http://mobilecity.sk This issue is happening since two weeks ago 
> and we did not change anything in the deployed project for more than one 
> year. 
>
> When I run the project on localhost using Eclipse, everything works just 
> fine. I suppose something changed in the settings of content type in the 
> developers console, but I can't find any related settings. I was not 
> developing this project and the guy who managed it is no longer working in 
> our company. So I'm a total newbie to the AppEngine and I have no idea how 
> to fix this. Any feedback would be highly appreciated.
>
> Thank you very much,
> Peter Reguli
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/49d07406-d2ab-4cf3-854e-84790e868505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to