Closed ender503 closed 6 years ago
We have to ensure consistent string encoding. Can you write test cases about that?
@ender503, ping?
@jserv, Since we are using the HTTPServer
and BaseHTTPRequestHandler
, it is not easy to write the test cases.
When the client is requesting the root path of the server, it won't get the response message, due to the internal server error, it is caused by the response with wrong data type, the response data only accept the "string".
To fix this problem, convert the data to the "string" type.