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

  • SEARCH
  • Home
  • 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 9015037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:39:07+00:00 2026-06-16T03:39:07+00:00

I am using Azure SDK Oct 2012. ODataLib dependency in the Storage Client Library

  • 0

I am using Azure SDK Oct 2012. ODataLib dependency in the Storage Client Library for .NET is resolved through the ODataLib (version 5.0.2). When I fire a query on azure tables I get following exception:

A supported MIME type could not be found that matches the content type 
    of the response. None of the supported type(s) 'application/atom+xml;type=feed,
    application/atom+xml, application/json;odata=verbose' matches the content type
   'text/xml;charset=utf-8'.

When I used Fidler to track the header values of HTTP,

for Request it was

Accept: application/atom+xml,application/xml

for Response it was

Content-Type: text/xml;charset=utf-8

I am sure it is happening because of the Proxy at my organisation. (bcs same code works fine with no Proxy).
So can anyone help me how to fix this problem?

1) Is there a way to set the Content-Type while firing query?

2) Or ODataLib is does not handle Content-Type: text/xml;charset=utf-8 ?

  • 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-06-16T03:39:09+00:00Added an answer on June 16, 2026 at 3:39 am

    We solved the problem as follows.

    With the help of “Costomize Rules” option under “Rules” menu of Fidler, open “CustomRules.js” file. There exists a function called “OnBeforeResponse“. Add below code inside this function to change response Content-Type before data is given to application (API).

    if (oSession.oResponse.headers.ExistsAndContains("Content-Type", "text/xml")){
        // Remove the content-type header (text/xml)
        oSession.oResponse.headers.Remove("Content-Type");
    
        // Replace Content-Type with the new type
        oSession.oResponse["Content-Type"] = "application/atom+xml";        
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing to Azure Table storage using Storage SDK 2.0 from different threads (ASP.NET
I'm using the Azure SDK to upload a stream to an Azure Storage Blob.
Using the June 2012 Azure SDK, I have a service bus topic, and I
Using the June 2012 version of the SDK and emulator, I'm trying to install
I am using the latest Azure SDK Storage emulator. I am trying to sign
I'm using the latest Windows Azure SDK for Node.js (August 2012) from Web Platform
I'm using version 1.6 of the Windows Azure SDK. As I understand it, the
Currently the newest version of Azure SDK is 1.5, but I'm using 1.4 and
I am using Azure Library for Lucene.Net to index and search data. My webrole
I already have my azure web role running in cloud using azure sdk 1.6.

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.