Asp Classic return specific http status code

后端 未结 1 689
独厮守ぢ
独厮守ぢ 2021-01-07 20:44

How can I return a specific http status code from an asp classic?

相关标签:
1条回答
  • 2021-01-07 21:10
     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 e.g. "404 File Not Found".

    The ASP Response Object

    0 讨论(0)
提交回复
热议问题