Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 asp 经典中返回特定的 http 状态代码?
Response.Status = "404 File Not Found"
一个字符串,它指定服务器状态行的值。它包含在响应的 HTTP 标头中。这个字符串应该包含 三位数字代码和一个简短的解释,例如“404 File Not Found”。
ASP 响应对象