totaljs/modules

Report a bug of session

andylokandy opened this issue · 1 comments

Session works well in debug while always fails in test. I got code 408 each time in test mode. Finally, I found the bug is at Line 78 in session.js ,requiring a req.headers['user-agent'] which was not included in the header of test request.

Hi @goandylok,
I fixed user-agent string.

Thanks.