This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add a Content-Type header in response for weblogic 9.x  RSS feed

 
Harshana Dias
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I use IE9 I am getting "CSS was ignored due to mime type mismatch" error in developer tool console and the relevant css is not apply and the web page is not align.

The cause is IE 9 checks for the Content-Type header in the response.

I request the below css file,

But in current response does not have the Content-Type = text/css as a response header.

How to add the Content-Type = text/css for the response header for css files.

I am using weblogic 9.x
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!