Fix TypeError when calling request.cookie
Merge pull request #728 from scarletmeow/master

Fix TypeError when calling request.cookie