Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Using useElectronNet results in error: HTTP trailers are not supported #461
I'm using this code to upload a file to S3:
And this throws an uncaughtException "HTTP trailers are not supported"
This because the response is parsed by mimic-response:
mimic-response should be made aware of that it is using electron.net or got should do something to prevent the reading of these properties.
If you let me know what you'd prefer, I can make a pull request
changed the title
Use useElectronNet results in error: HTTP trailers are not supported.
Feb 23, 2018
I think it would be more appropriate to remove the
That would be too bad, because for us the combination of got and electron works perfectly, except for this error...
Would it be possible to wrap electron support in a provider and keep it out of the got codebase, but still be available for people who want to use it at their own peril?