Autodesk-Forge / forge-api-nodejs-client

Forge Node.js SDK: Provides Node.js SDK to help you easily integrate Forge REST APIs into the application
Apache License 2.0
121 stars 87 forks source link

getObject returns empty body #83

Closed softremake closed 2 years ago

softremake commented 2 years ago

after switching from request to superagent in 0.9.0 release getObject stopped working, the response.body is empty ({}), no any errors. Most likely it affects only objects larger than a certain size (our models are usually bigger than 500K). Anyway, the solution is to buffer the response. I've made a PR https://github.com/Autodesk-Forge/forge-api-nodejs-client/pull/82 Please review and accept.

cyrillef commented 2 years ago

Fix in 0.9.1 Thx for the pull request