Moved from Google Code due to http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html, but it doesn't mean that I will work on the project actively in the feature.
MIT License
1
stars
0
forks
source link
XMLHttpRequest responseHeaders is not valid Javascript String #15
What steps will reproduce the problem?
1. make a GM_xmlHttpRequest
2. inspect the responseHeaders in the response
What is the expected output?
a string representation of a dictionary
What do you see instead?
some broken "Javascript" object
What version of the product are you using? On what operating system?
OS X 10.4.11
Safari 3.0.4
Greasekit 1.3
Fix:
In XMLHttpRequest.m
- connection: didReceiveResponse:
change:
[response_ setValue: [http allHeaderFields]
forKey: @"responseHeaders"];
to:
[response_ setValue: [[http allHeaderFields] description]
forKey: @"responseHeaders"];
Original issue reported on code.google.com by sei...@gmail.com on 20 Dec 2007 at 8:35
Original issue reported on code.google.com by
sei...@gmail.com
on 20 Dec 2007 at 8:35