Skip to content
New issue

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

response.writeHeader in server.imporved.js is not a function #100

Open
memerson12 opened this issue Sep 9, 2022 · 0 comments · May be fixed by #101
Open

response.writeHeader in server.imporved.js is not a function #100

memerson12 opened this issue Sep 9, 2022 · 0 comments · May be fixed by #101

Comments

@memerson12
Copy link

In the sendFile function of the server.improved.js calls the writeHeader function on the response object. This should be writeHead as is used in handlePost function. Here is the documentation for the function.

@memerson12 memerson12 changed the title response.writeHeader is server.imporved.js is not a function response.writeHeader in server.imporved.js is not a function Sep 9, 2022
@memerson12 memerson12 linked a pull request Sep 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant