all response status codes are 200 #75

Closed
opened 2017-11-23 11:08:47 +00:00 by apal21 · 1 comment
apal21 commented 2017-11-23 11:08:47 +00:00 (Migrated from github.com)

On line 304, server.js
If I use res.statusCode, it always returns 200. But if I request same url in Postman, it returns the correct status code.

So how can I get the correct status code?

On line 304, server.js If I use `res.statusCode`, it always returns 200. But if I request same url in [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en), it returns the correct status code. So how can I get the correct status code?
apal21 commented 2017-11-23 11:20:35 +00:00 (Migrated from github.com)

Okay I found this in one of the pull requests.
It is at the line 163.

Okay I found this in one of the pull requests. It is at the line 163.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hoelee/server#75