Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to downloading of Content-Disposition #311

Open
mandakhsw opened this issue Sep 20, 2017 · 0 comments
Open

Not able to downloading of Content-Disposition #311

mandakhsw opened this issue Sep 20, 2017 · 0 comments

Comments

@mandakhsw
Copy link

It's not possible to download any content-disposition data sent by web site.
When any content-disposition resource received, onLoadFinished throws an exception with message:

horseman phantomjs onLoadFinished triggered fail 7
Unhandled rejection Error: Failed to load url
    at checkStatus (D:\Sandbox\horseman\node_modules\node-horseman\lib\index.js:292:16)
    at tryCatcher (D:\Sandbox\horseman\node_modules\bluebird\js\release\util.js:16:23)
    at Function.Promise.attempt.Promise.try (D:\Sandbox\horseman\node_modules\bluebird\js\release\method.js:39:29)
    at Object.loadFinishedSetup [as onLoadFinished] (D:\Sandbox\horseman\node_modules\node-horseman\lib\index.js:290:43)
    at D:\Sandbox\horseman\node_modules\node-phantom-simple\node-phantom-simple.js:636:30
    at Array.forEach (native)
    at IncomingMessage.<anonymous> (D:\Sandbox\horseman\node_modules\node-phantom-simple\node-phantom-simple.js:617:17)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant