mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
commit
f63db6de79
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ PdfStreamConverter.prototype = {
|
|||
try {
|
||||
var request = aCtxt;
|
||||
request.QueryInterface(Ci.nsIHttpChannel);
|
||||
skipConversion = (request.requestMethod === 'POST');
|
||||
skipConversion = (request.requestMethod !== 'GET');
|
||||
} catch (e) {
|
||||
// Non-HTTP request... continue normally.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue