Re: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".

Huynh Nghia


Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <[hidden email]> đã viết:


---------- Forwarded message ---------
Từ: Huynh Nghia <[hidden email]>
Date: Th 2, 23 thg 11, 2020 vào lúc 11:21
Subject: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".
To: <[hidden email]>


Hi Tomcat dev,

- I got an error with my app running on tomcat v9 64bit last modified (Win 10):
  Example:
 v9.0.27/                2019-10-11 08:46    -   
[DIR] v9.0.29/                2019-11-21 09:11    -   
[DIR] v9.0.30/                2019-12-12 08:22    -   
[DIR] v9.0.31/                2020-03-10 23:16    -   
[DIR] v9.0.33/                2020-03-16 09:37    -   
[DIR] v9.0.34/                2020-04-08 15:43    -   
[DIR] v9.0.35/                2020-05-11 11:19    -   
[DIR] v9.0.36/                2020-06-07 19:01    -   
[DIR] v9.0.37/                2020-07-05 18:31    -   
[DIR] v9.0.38/                2020-11-05 18:47    -    
[DIR] v9.0.39/                            2020-11-05 18:47 -    
v9.0.40/                2020-11-17 14:23 






- But my app work with tomcat v9 last modified :
  Example:
v9.0.4/                 2018-01-22 14:51
v9.0.5/                 2018-02-11 20:11

- Technology : Angularjs 1.8, Jquery 3.5.1,Java Sevlet version 1.7 : 51.0
- Please help me workaround this error or fix it on version tomcat v9.0.40/
Thanks you so much.
Best Regards,
Nghia Huynh
 

Reply | Threaded
Open this post in threaded view
|

Re: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".

Huynh Nghia
- Request Headers : Accep:text/css
- But Reponse : Content-type:text/html


Vào Th 2, 23 thg 11, 2020 vào lúc 11:47 Huynh Nghia <[hidden email]> đã viết:


Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <[hidden email]> đã viết:


---------- Forwarded message ---------
Từ: Huynh Nghia <[hidden email]>
Date: Th 2, 23 thg 11, 2020 vào lúc 11:21
Subject: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".
To: <[hidden email]>


Hi Tomcat dev,

- I got an error with my app running on tomcat v9 64bit last modified (Win 10):
  Example:
 v9.0.27/                2019-10-11 08:46    -   
[DIR] v9.0.29/                2019-11-21 09:11    -   
[DIR] v9.0.30/                2019-12-12 08:22    -   
[DIR] v9.0.31/                2020-03-10 23:16    -   
[DIR] v9.0.33/                2020-03-16 09:37    -   
[DIR] v9.0.34/                2020-04-08 15:43    -   
[DIR] v9.0.35/                2020-05-11 11:19    -   
[DIR] v9.0.36/                2020-06-07 19:01    -   
[DIR] v9.0.37/                2020-07-05 18:31    -   
[DIR] v9.0.38/                2020-11-05 18:47    -    
[DIR] v9.0.39/                            2020-11-05 18:47 -    
v9.0.40/                2020-11-17 14:23 






- But my app work with tomcat v9 last modified :
  Example:
v9.0.4/                 2018-01-22 14:51
v9.0.5/                 2018-02-11 20:11

- Technology : Angularjs 1.8, Jquery 3.5.1,Java Sevlet version 1.7 : 51.0
- Please help me workaround this error or fix it on version tomcat v9.0.40/
Thanks you so much.
Best Regards,
Nghia Huynh
 

Reply | Threaded
Open this post in threaded view
|

Re: Resource interpreted as Stylesheet but transferred with MIME type text/html: "<URL>".

Martin Grigorov
On Mon, Nov 23, 2020 at 7:26 AM Huynh Nghia <[hidden email]> wrote:

> - Request Headers : Accep:text/css
>

"Accep" header name misses "t" at the end


> - But Reponse : Content-type:text/html
> [image: Screenshot_8.png]
>
> Vào Th 2, 23 thg 11, 2020 vào lúc 11:47 Huynh Nghia <
> [hidden email]> đã viết:
>
>>
>>
>> Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <
>> [hidden email]> đã viết:
>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> Từ: Huynh Nghia <[hidden email]>
>>> Date: Th 2, 23 thg 11, 2020 vào lúc 11:21
>>> Subject: Resource interpreted as Stylesheet but transferred with MIME
>>> type text/html: "<URL>".
>>> To: <[hidden email]>
>>>
>>>
>>> Hi Tomcat dev,
>>>
>>> - I got an error with my app running on tomcat v9 64bit last modified
>>> (Win 10):
>>>   Example:
>>>
>>>  v9.0.27/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.27/>                2019-10-11 08:46    -   [image: [DIR]] v9.0.29/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.29/>                2019-11-21 09:11    -   [image: [DIR]] v9.0.30/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.30/>                2019-12-12 08:22    -   [image: [DIR]] v9.0.31/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.31/>                2020-03-10 23:16    -   [image: [DIR]] v9.0.33/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.33/>                2020-03-16 09:37    -   [image: [DIR]] v9.0.34/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.34/>                2020-04-08 15:43    -   [image: [DIR]] v9.0.35/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.35/>                2020-05-11 11:19    -   [image: [DIR]] v9.0.36/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.36/>                2020-06-07 19:01    -   [image: [DIR]] v9.0.37/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.37/>                2020-07-05 18:31    -   [image: [DIR]] v9.0.38/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.38/>                2020-11-05 18:47    -
>>>
>>> [image: [DIR]] v9.0.39/
>>> <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.39/>
>>>               2020-11-05 18:47 -
>>>
>>> v9.0.40/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.40/>                2020-11-17 14:23
>>>
>>>
>>> [image: Screenshot_4.png]
>>> [image: Screenshot_5.png]
>>> [image: Screenshot_6.png]
>>>
>>>
>>> - But my app work with tomcat v9 last modified :
>>>   Example:
>>>
>>> v9.0.4/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.4/>                 2018-01-22 14:51
>>>
>>> v9.0.5/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.5/>                 2018-02-11 20:11
>>>
>>>
>>> - Technology : Angularjs 1.8, Jquery 3.5.1,Java Sevlet version 1.7 : 51.0
>>>
>>> - Please help me workaround this error or fix it on version tomcat
>>> v9.0.40/ <https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.40/>
>>>
>>> Thanks you so much.
>>>
>>> Best Regards,
>>>
>>> Nghia Huynh
>>>
>>>
>>>
>>>
>>>
>>>
>>>