We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The server can add a header (npm-notice) containing the message for the npm-cli end user. However, the implementation limits the alphabet to ascii.
npm-notice
npm-cli
ascii
It happens because http headers are 7bit ascii and application layer is responsible for encoding.
http
function checkResponse (method, res, registry, startTime, opts_ = {}) { // ... opts.log.notice('', res.headers.get('npm-notice'))
I want to propose to add agreed ascii to unicode decoder between headers.get and log.notice.
unicode
headers.get
log.notice
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What / Why
The server can add a header (
npm-notice
) containing the message for thenpm-cli
end user.However, the implementation limits the alphabet to
ascii
.It happens because
http
headers are 7bitascii
and application layer is responsible for encoding.check-response.js
I want to propose to add agreed
ascii
tounicode
decoder betweenheaders.get
andlog.notice
.The text was updated successfully, but these errors were encountered: