For a RESTful API I am building, I’m getting the following response code in the Ruby server log: HTTP/1.1" 200 203
I know 200 means OK, but then whats the 203 for? Surely there can only be one status code?
The full responses are:
"GET /getLocationForAllFriends?uid=4&passport=0000 HTTP/1.1" 200 203 0.4243
"GET /getLocationForAllFriends?uid=5&passport=0000 HTTP/1.1" 200 8 0.3206
Everything makes sense except for the “slot” where 203 an 8 are.
BTW, the server is Mongrel
The 203 is the length in bytes of the returned data, it is not a response code.
The response in the first line was 203 bytes and took 0.4 seconds to serve, and the second was 8 bytes and took 0.3 seconds. Both were
GETrequests and the response code was in both cases200.