状态码 200 成功 302 临时跳转,跳转由location指定 400 请求语法错误 403 服务器收到请求 但拒绝提供服务 404 请求URL资源不存在 500 不可预期的错误 talk is cheap. show me the code.