当前位置:网站首页>安全20220709
安全20220709
2022-07-31 03:18:00 【北栀 鹿℡】
HTTP状态码
表示网页服务器超文本传输协议响应状态代码
HTTP状态码(英语:HTTP Status Code)是用以表示网页服务器超文本传输协议响应状态的3位数字代码。它由 RFC 2616 规范定义的,并得到 RFC 2518、RFC 2817、RFC 2295、RFC 2774 与 RFC 4918 等规范扩展。所有状态码的第一个数字代表了响应的五种状态之一。所示的消息短语是典型的,但是可以提供任何可读取的替代方案。 除非另有说明,状态码是HTTP / 1.1标准(RFC 7231)的一部分。
常见HTTP状态码
完整的HTTP 1.1规范说明书来⾃于RFC 2616,HTTP 1.1的状态码被标记为新特性,因为许多浏览器只⽀持HTTP 1.0。你应只把状态码发送给⽀持HTTP 1.1的客户端,⽀持协议版本可以通过调⽤request.getRequestProtocol来检查。这些HTTP 1.1中的状态码被分为五⼤类:
- 100-199 ⽤于指定客户端应相应的某些动作。
- 200-299 ⽤于表⽰请求成功。
- 300-399 ⽤于已经移动的⽂件并且常被包含在定位头信息中指定新的地址信息。
- 400-499 ⽤于指出客户端的错误。
- 500-599 ⽤于⽀持服务器错误。
HTTPS
HTTPS (全称:Hyper Text Transfer Protocol over SecureSocket Layer),是以安全为目标的 HTTP 通道,在HTTP的基础上通过传输加密和身份认证保证了传输过程的安全性 [1] 。HTTPS 在HTTP 的基础下加入SSL,HTTPS 的安全基础是 SSL,因此加密的详细内容就需要 SSL。 HTTPS 存在不同于 HTTP 的默认端口及一个加密/身份验证层(在 HTTP与 TCP 之间)。这个系统提供了身份验证与加密通讯方法。它被广泛用于万维网上安全敏感的通讯,例如交易支付等方面。
dns解析过程
第一步:客户机提出域名解析请求,并将该请求发送给本地的域名服务器.
第二步:当本地的域名服务器收到请求后,就先查询本地的缓存,如果有该纪录项,则本地的域名服务器就直接把查询的结果返回.
第三步:如果本地的缓存中没有该纪录,则本地域名服务器就直接把请求发给根域名服务器,然后根域名服务器再返回给本地域名服务器一个所查询域(根的子域)的主域名服务器的地址.
第四步:本地服务器再向上一步返回的域名服务器发送请求,然后接受请求的服务器查询自己的缓存,如果没有该纪录,则返回相关的下级的域名服务器的地址.
第五步:重复第四步,直到找到正确的纪录.
第六步:本地域名服务器把返回的结果保存到缓存,以备下一次使用,同时还将结果返回给客户机.
边栏推荐
- MP使用时的几个常见报错
- SQL injection Less54 (limited number of SQL injection + union injection)
- Compile Hudi
- Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
- TCP/IP four-layer model
- Day32 LeetCode
- Select the smoke test case, and make the first pass for the product package entering QA
- Recursive query single table - single table tree structure - (self-use)
- With 7 years of experience, how can functional test engineers improve their abilities step by step?
- 注解用法含义
猜你喜欢
MultipartFile文件上传
What is distributed and clustered?What is the difference?
LeetCode简单题之找到和最大的长度为 K 的子序列
【C语言】求两个整数m和n的最大公因数和最小公倍数之和一般方法,经典解法
Installation of mysql5.7.37 under CentOS7 [perfect solution]
The distance value between two arrays of LeetCode simple questions
STM32 problem collection
Database implements distributed locks
递归查询单表-单表树结构-(自用)
A brief introduction to the CheckboxListTile component of the basic components of Flutter
随机推荐
立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业
Chapter 9 SVM实践
[C language] Preprocessing operation
Getting Started with CefSharp - winform
Local area network computer hardware information collection tool
TCP详解(一)
Addition and Subtraction of Scores in LeetCode Medium Questions
Why SocialFi achievement Web3 decentralized social in the future
数据库文件中的未分配的块和未使用的块的区别
Mycat's master-slave relationship, vertical sub-database, horizontal sub-table, and detailed configuration of mycat fragmented table query (mysql5.7 series)
【动态规划】连续子数组的最大和
华为分布式存储FusionStorage知识点总结【面试篇】
web容器及IIS --- 中间件渗透方法1
Analysis summary - self-use
CloudCompare & PCL calculate the degree of overlap between two point clouds
品牌广告投放平台的中台化应用与实践
[Godot][GDScript] 二维洞穴地图随机生成
Day32 LeetCode
Problems that need to be solved in distributed system architecture
5. How does the SAP ABAP OData service support the $filter operation