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,但是进入该状态后,不能再继续进行验证。该访问是永久禁止的,并且与应用逻辑密切相关(例如不正确的密码)。



  • 相关阅读:
    JDBC
    Ajax:一种不用刷新整个页面便可与服务器通讯的办法
    Maven——自动化构建工具
    SSM整合
    MyBatis框架
    SpringMVC框架、Spring boot框架、SSM區別
    Spring开源框架
    切入点表达式
    面向切面编程之cglib代理方式
    动态JDK代理方式-实现类增强
  • 原文地址:https://www.cnblogs.com/rsapaper/p/8921915.html
Copyright © 2011-2022 走看看