Home Dashboard Directory Help
Search

WebView Control in VS 2012 update 1 xhr.getAllResponseHeaders returns malformed string by Justin Matthews1


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 780714
Opened: 3/5/2013 10:41:22 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description


var request = new window.XMLHttpRequest();
...send request...
headers = request.getAllResponseHeaders();

Headers will look similar to "\nContent-Type: application/json\r\nCache-Control: no-cache\r\n"

From w3, the headers are separated by \r\n, the initial \n in the string is unexpected.
http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders()-method

Details
Sign in to post a comment.
Posted by Microsoft on 4/1/2013 at 9:49 AM
Continuing the conversation over email. Closing this Connect entry since it seems to be configuration-specific.
Posted by Justin Matthews1 on 3/15/2013 at 2:01 PM
Please keep this open. If you email me directly I can provide you with a server that that this can be reproduced with. So far I haven't been able to reproduce it other than that particular server.
Posted by Microsoft on 3/12/2013 at 10:12 PM
Hi Justin,

Thank you for the detailed issue report. In testing this I was unable to reproduce the issue against the test server I used. Can you tell us if this issue is occuring for you against an IIS server and if so, what version?

If I don't hear back within 4 business days, I'll go ahead and close this issue - thank you!

Jordan
Posted by Microsoft on 3/6/2013 at 1:15 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 3/5/2013 at 10:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
WebViewXhrBug.zip (restricted) 3/5/2013 -