zoukankan      html  css  js  c++  java
  • 403 服务器端有能力处理该请求,但是拒绝授权访问

    RFC 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content https://tools.ietf.org/html/rfc7231#section-6.5.3

    6.5.3. 403 Forbidden

    
    
       The 403 (Forbidden) status code indicates that the server understood
       the request but refuses to authorize it.  A server that wishes to
       make public why the request has been forbidden can describe that
       reason in the response payload (if any).
    
       If authentication credentials were provided in the request, the
       server considers them insufficient to grant access.  The client
       SHOULD NOT automatically repeat the request with the same
       credentials.  The client MAY repeat the request with new or different
       credentials.  However, a request might be forbidden for reasons
       unrelated to the credentials.
    
       An origin server that wishes to "hide" the current existence of a
       forbidden target resource MAY instead respond with a status code of




    403 Forbidden - HTTP | MDN https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/403

    状态码 403 Forbidden 代表客户端错误,指的是服务器端有能力处理该请求,但是拒绝授权访问。

    这个状态类似于 401,但是进入该状态后,不能再继续进行验证。该访问是永久禁止的,并且与应用逻辑密切相关(例如不正确的密码)。



  • 相关阅读:
    c# 如何利用异或运算进行简单加密解密
    五分钟读懂UML类图
    深入浅出UML类图
    WPF中DPI的问题
    .NET调用JAVA的WebService方法
    动态调用WebService(C#) (非常实用)
    Docker入门
    idea开发shell脚本并运行
    SpringEl表达式解析
    Navicate 许可证
  • 原文地址:https://www.cnblogs.com/rsapaper/p/8921915.html
Copyright © 2011-2022 走看看