web app shows just the html not the rendered page

2,140 views
Skip to first unread message

Wes James

unread,
Nov 5, 2012, 3:16:17 PM11/5/12
to Chromium-discuss
Hi,

I have a web app that works fine using http in the latest chrome, firefox and safari on a mac (and chrome and firefox on 12.10 xubuntu).  But when I go to https, chrome shows just the html text of the page.  This happens on the mac and xubuntu.  With firefox on xubuntu and safari/firefox on the mac it renders properly.  Any ideas why it is doing this?  Something my web app might be doing or where can I look to see if it is an issue with chrome?

Thanks,

Wes

Joao da Silva

unread,
Nov 5, 2012, 5:23:35 PM11/5/12
to comp...@gmail.com, Chromium-discuss
On Mon, Nov 5, 2012 at 9:16 PM, Wes James <comp...@gmail.com> wrote:
Hi,

I have a web app that works fine using http in the latest chrome, firefox and safari on a mac (and chrome and firefox on 12.10 xubuntu).  But when I go to https, chrome shows just the html text of the page.  This happens on the mac and xubuntu.  With firefox on xubuntu and safari/firefox on the mac it renders properly.  Any ideas why it is doing this?  Something my web app might be doing or where can I look to see if it is an issue with chrome?


Guessing: is the https server setting the Content-Type header?

Open the developer tools, go to the network tab, reload that page. Look at the request, look at the headers, and check if the response headers includes

Content-Type:
text/html; charset=UTF-8

- Joao
 
Thanks,

Wes

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Wes James

unread,
Nov 5, 2012, 5:52:20 PM11/5/12
to Joao da Silva, Chromium-discuss
Hi,


On Mon, Nov 5, 2012 at 3:23 PM, Joao da Silva <joaod...@chromium.org> wrote:
On Mon, Nov 5, 2012 at 9:16 PM, Wes James <comp...@gmail.com> wrote:
Hi,

I have a web app that works fine using http in the latest chrome, firefox and safari on a mac (and chrome and firefox on 12.10 xubuntu).  But when I go to https, chrome shows just the html text of the page.  This happens on the mac and xubuntu.  With firefox on xubuntu and safari/firefox on the mac it renders properly.  Any ideas why it is doing this?  Something my web app might be doing or where can I look to see if it is an issue with chrome?


Guessing: is the https server setting the Content-Type header?

Open the developer tools, go to the network tab, reload that page. Look at the request, look at the headers, and check if the response headers includes

Content-Type:
text/html; charset=UTF-8

it looks like the app is returning text/plain in https and text/html in http.  Thanks for the pointer
 

- Joao
 
Thanks,

Wes


Wes James

unread,
Nov 5, 2012, 6:13:33 PM11/5/12
to Joao da Silva, Chromium-discuss
On Mon, Nov 5, 2012 at 3:23 PM, Joao da Silva <joaod...@chromium.org> wrote:
On Mon, Nov 5, 2012 at 9:16 PM, Wes James <comp...@gmail.com> wrote:
Hi,

I have a web app that works fine using http in the latest chrome, firefox and safari on a mac (and chrome and firefox on 12.10 xubuntu).  But when I go to https, chrome shows just the html text of the page.  This happens on the mac and xubuntu.  With firefox on xubuntu and safari/firefox on the mac it renders properly.  Any ideas why it is doing this?  Something my web app might be doing or where can I look to see if it is an issue with chrome?


Guessing: is the https server setting the Content-Type header?

Open the developer tools, go to the network tab, reload that page. Look at the request, look at the headers, and check if the response headers includes

Content-Type:
text/html; charset=UTF-8

testing on all browsers, on chrome it is text/plain, in firefox and safari it is showing as text/html.  I even added <!DOCTYPE html> at the top of the page and get same results.


- Joao
 

wes 

Wes James

unread,
Nov 5, 2012, 6:19:37 PM11/5/12
to Joao da Silva, Chromium-discuss
Ok - I was looking at the grid output on chrome network and it is showing under the type heading text/plain, but when I click the path item on the left and click Headers, it doesn't have that response header above.
 

- Joao
 

wes 


Wes James

unread,
Nov 5, 2012, 6:21:34 PM11/5/12
to Joao da Silva, Chromium-discuss
I just looked at the http page and it doesn't show that response header either.  ????  It's https that is doing this.
 

- Joao
 

wes 



Parik Tiwari

unread,
Sep 15, 2014, 1:32:42 PM9/15/14
to chromium...@chromium.org, joaod...@chromium.org, comp...@gmail.com
Joao,
    Were you able to resolve the issue? I am facing exactly same thing. Please lmk.

Thanks,
Parik
Reply all
Reply to author
Forward
0 new messages