-\r
-// ================================================================\r
-// method: responseText()\r
-// return: text string in response body\r
-\r
-JKL.ParseXML.HTTP.prototype.responseText = function() {\r
- // debug.print( "responseText: "+this.req );\r
- if ( ! this.req ) return;\r
-\r
- // Safari and Konqueror cannot understand the encoding of text files.\r
- if ( navigator.appVersion.match( "KHTML" ) ) {\r
- var esc = escape( this.req.responseText );\r
-// debug.print( "escape: "+esc );\r
- if ( ! esc.match("%u") && esc.match("%") ) {\r
- return decodeURIComponent(esc);\r
- }\r
- }\r
-\r
- return this.req.responseText;\r
-};\r