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
No description provided.
The text was updated successfully, but these errors were encountered:
Приветствую, Анастасия
https://github.com/AMashoshyna/nodejs_basic/blob/http-server/http-server/http.js#L32-L33 Здесь нет смысла вызывать read()
https://github.com/AMashoshyna/nodejs_basic/blob/http-server/http-server/http.js#L70-L81 Если я вызову writeHead, а потом уже сделаю pipe - то смогу дважды отправить statusLine и заголовки. Более того, не кажется ли вам что это место подозрительно похоже на https://github.com/AMashoshyna/nodejs_basic/blob/http-server/http-server/http.js#L50-L52 ;)
// @xanf
Sorry, something went wrong.
В методе setHeader если параметры не правильны, то лучше проигнорировать такие данные а не генерировать ошибку.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: