简体   繁体   中英

Asp Classic return specific http status code

如何从asp经典中返回特定的http状态代码?

 Response.Status = "404 File Not Found"

A string which specifies the value of status line of the server. It is included in HTTP headers of the response. This string should contain both three digit code and a brief explanation for it eg "404 File Not Found".

The ASP Response Object

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM