Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6549595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:06:44+00:00 2026-05-25T12:06:44+00:00

I am making a jsonp call as below .Its a cross domain call Which

  • 0

I am making a jsonp call as below .Its a cross domain call Which works fine in FF but in IE9 it fails and I see following message in IE .

SEC7112: Script from http://site.com/a.jsp was blocked due to mime type mismatch 

I saw this article http://msdn.microsoft.com/en-us/library/gg622941%28v=vs.85%29.aspx where it says it will ignore response with No-Sniff response. So that header depends on server ? How do I fix it ? Is there any workaround ?

$.ajax({ type: 'POST',
        url: 'http://www.othersite.com/index.jsp',
        data: 'action=delete&id=121',
        contentType: 'application/javascript',
        dataType: 'jsonp',
        success:  function(data) {
                      alert(data.fromname);
        }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:06:44+00:00Added an answer on May 25, 2026 at 12:06 pm

    As the error in MSDN says:

    SCRIPT and STYLESHEET elements will reject responses with incorrect MIME types if the server sends the response header X-Content-Type-Options: nosniff. This is a security feature that helps prevent attacks based on MIME-type confusion.

    try sending the “X-Content-Type-Options: nosniff” in the server side of your page, if this does not works with ie, you just need to touch the http://www.othersite.com server headers.

    ie sometimes is a headache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a cross-domain JSON(P) call by using JavaScript to add a <script>
I'm making the following call in jQuery, using jsonp as my data format, that
I'm making call to Alfresco Webscripts which return JSON. I do this using GET
I am doing a cross domain request using $.ajax . It works on Firefox
As a part of learning JSONP, I am making an ajax call as follows:
I am making cross-domain Ajax calls using the latest version of jQuery 1.7.1. with
I'm making FQL calls using the following url and then making a curl call.
I am making the following ajax call: $.ajax({ type: type, url: url, data: data,
I'm making an ajax call using jQuery as below. $.ajax({ type: POST, url: proc.php,
I'm experimenting with MCV using jquery. I'm making a call to an api, which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.