4 ms·
Hyper Text Coffee Pot Control Protocol
- LiamPa 7y agoI always wondered why it was in the requests source code. https://github.com/psf/requests/blob/9b95b4e7b4df1865b058161f1492989868614535/requests/status_codes.py#L75 https://github.com/psf/requests/blob/9b95b4e7b4df1865b058161...
- foxyv 7y agoI used to use a cheeky 418 for when I get a connection error, timeout, or SSL error to a remote HTTP server and need to log a HTTP response to the logging table. Nowadays though I stick to a -1 or a 0 since it's less confusing!