Skip to content

Commit

Permalink
Added printing of response headers.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel <[email protected]>
  • Loading branch information
1stsetup committed Jan 25, 2014
1 parent a2b73f2 commit f5ecbc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/ecExchangeRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,9 @@ catch(err){
let xmlReq = this.mXmlReq;

if (this.debug) this.logInfo(": ExchangeRequest.onLoad :"+evt.type+", readyState:"+xmlReq.readyState+", status:"+xmlReq.status);

if (this.debug) this.logInfo(": ExchangeRequest.onLoad :"+xmlReq.getAllResponseHeaders(),2);

if (this.debug) this.logInfo(": ExchangeRequest.onLoad :"+xmlReq.responseText,2);

//this.exchangeStatistics.addDataRead(this.currentUrl, xmlReq.responseText.length);
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<Description about="urn:mozilla:install-manifest">
<em:id>[email protected]</em:id>
<em:version>3.2.0-Beta76</em:version>
<em:version>3.2.0-Beta77-bug412-2</em:version>

<em:targetApplication>
<Description>
Expand Down

0 comments on commit f5ecbc0

Please sign in to comment.