locked
Handling 303 SeeOther status code with WinJS.xhr RRS feed

  • Question

  • Is there any way to handle 303 status code of XMLHttpRequest with WinJS.xhr function using javascript?.

    I read the article titled "Adventures in Windows 8: HTTP Post Helper WinRT Component" at codeproject which gives a solution using a C# component, but I would like to know if it can be done with javascript. Is it possible?.

    I need to handle 303 status code in order to integrate the application with an external security service (I can´t use WebAuthenticationBroker because I already have an implementation on a external service).

    Monday, October 29, 2012 2:58 PM

Answers

  • Hi,

    I am afraid you can't do that with javascript directly.

    But as the article said, you could use the WinRT Component with javascript.


    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com
    Microsoft One Code Framework

    • Proposed as answer by ClaudiaM Tuesday, October 30, 2012 11:51 AM
    • Marked as answer by Song Tian Wednesday, October 31, 2012 1:10 AM
    Tuesday, October 30, 2012 8:48 AM