We should only check for the response code, not the reason (since that is bound to vary among different servers). Something like `if bytes.startswith('200 ')` should do.