You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Huynh Nghia <hh...@gmail.com> on 2020/11/23 04:47:15 UTC

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

Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <hh...@gmail.com>
đã viết:

>
>
> ---------- Forwarded message ---------
> Từ: Huynh Nghia <hh...@gmail.com>
> 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: <de...@tomcat.apache.org>
>
>
> 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
>
>
>
>
>
>
>

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

Posted by Martin Grigorov <mg...@apache.org>.
On Mon, Nov 23, 2020 at 7:26 AM Huynh Nghia <hh...@gmail.com> 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 <
> hhnghiait08@gmail.com> đã viết:
>
>>
>>
>> Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <
>> hhnghiait08@gmail.com> đã viết:
>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> Từ: Huynh Nghia <hh...@gmail.com>
>>> 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: <de...@tomcat.apache.org>
>>>
>>>
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>

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

Posted by Huynh Nghia <hh...@gmail.com>.
- Request Headers : Accep:text/css
- 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 <hh...@gmail.com>
đã viết:

>
>
> Vào Th 2, 23 thg 11, 2020 vào lúc 11:35 Huynh Nghia <
> hhnghiait08@gmail.com> đã viết:
>
>>
>>
>> ---------- Forwarded message ---------
>> Từ: Huynh Nghia <hh...@gmail.com>
>> 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: <de...@tomcat.apache.org>
>>
>>
>> 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
>>
>>
>>
>>
>>
>>
>>