ABNF语法

http典型的请求场景

 

来自极客时间课件

 http协议介绍

.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[c:\~]$ telnet www.taohui.pub 80
 
 
Host 'www.taohui.pub' resolved to 116.62.160.193.
Connecting to 116.62.160.193:80...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
  GET /wp-content/plugins/Pure-Highlightjs_1.0/assets/pure-highlight.css?ver=0.1.0 HTTP/1.1
  Host:www.taohui.pub  输入后两个回车
 
HTTP/1.1 200 OK
Server: openresty/1.15.8.1
Date: Thu, 30 May 2019 17:34:50 GMT
Content-Type: text/css
Content-Length: 108
Last-Modified: Thu, 27 Dec 2018 07:35:33 GMT
Connection: keep-alive
ETag: "5c2480c5-6c"
Expires: Thu, 06 Jun 2019 17:34:50 GMT
Cache-Control: max-age=604800
Accept-Ranges: bytes
 
pre.pure-highlightjs {
    background-color: transparent;!important;
    border: none;
    padding: 0;
}HTTP/1.1 400 Bad Request
Server: openresty/1.15.8.1
Date: Thu, 30 May 2019 17:34:53 GMT
Content-Type: text/html
Content-Length: 163
Connection: close

  

 

posted @   烟雨楼台,行云流水  阅读(432)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 葡萄城 AI 搜索升级:DeepSeek 加持,客户体验更智能
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
点击右上角即可分享
微信分享提示