I know what the problem is. Server checks client's locale setting to determine how the date should be displayed. Python don't send locale information by default. So server fails at that point. If you add the following field in the HTTP request, the response will be correct: Accept-Language: en