-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: 7.10.0
- Platform: mac
- Subsystem: http
The documentation of http.ServerResponse claims that it implements the interface of stream.Writable
, which includes setDefaultEncoding
. However, ServerResponse
does not implement setDefaultEncoding
.
I'm passing a server response to another library, which pipes an archiver.zip to it. The binary data is interpreted as utf8
. I should be able to avoid this by setting the default encoding.
soletan
Metadata
Metadata
Assignees
Labels
help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.