Day: October 21, 2013

  • Working around the IE9/IE8 XDR Post bug

    When creating a REST-API for a client we ran across this really weird problem. IE8/IE9 can’t make XMLHttpRequest to other domains via CORS. Microsoft invented their own solution for this problem, called XDR. The problem with XDR is that it doesn’t send a Content-type when doing POST requests, defaulting this value to “text/plain” instead. PHP…