-
Notifications
You must be signed in to change notification settings - Fork 5.8k
PhantomJS does not like GZIP compression in some scenarios #10930
Comments
vitaliy....@gmail.com commented:
|
vitaliy....@gmail.com commented:
|
descarta...@gmail.com commented:
|
sahab.ya...@gmail.com commented:
|
I was working on a MITM proxy and ran into this exact issue. I was decompressing the output but forgot to update the Content-Length header. It produced the same misleading Parse Error message. Chrome, Safari worked fine. I'd ask if the Content-Length for the actual data in question is correct. |
What would that header look like? I've tried |
@paulyoung I'm using the following (took it from localnerve/html-snapshots@f99ddc5):
|
* Set a custom Accept-Encoding header to avoid receiving compressed replies, which mess up our ability to compute payload size. See <ariya/phantomjs#10930> for details. * Don't track the number of compressed responses. We no longer send a header indicating that we accept compressed responses, so we shouldn't be getting any, and hence the number will always be zero. * Update payload size calculation code for <ariya/phantomjs#13195>. I re-packaged phantomjs on hafnium to include this patch. * Conform with MediaWiki JavaScript code style. Change-Id: I55cf5556867463a3315d74b213efb00231fa0b9b
Hello! You have a new message, please read http://risk-management979.tk/arm.php?j2s8 |
to make it possible to resolve compression issues, see: ariya/phantomjs#10930 (comment)
to make it possible to resolve compression issues, see: ariya/phantomjs#10930 (comment)
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution! |
sahab.ya...@gmail.com commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #930.
🌟 5 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: