当前位置:网站首页>various network protocols
various network protocols
2022-08-01 07:57:00 【Kindergarten mobile】
Agreement
Recognize URL
What we commonly call "URL" is actually what we call URL

HTTP protocol format
HTTP request

HTTP Response

HTTP methods
get method
- Get the corresponding resource information directly
- The get method can take parameters (the url's ? is followed by get parameters)
- Handling of insensitive data
post method
- The data is submitted to the server through the body, not through the url
- post-"cont-length: text
- Processing encrypted content data
The difference between get and post: post can pass more parameters than get and is more private.
HTTP status code

Common HTTP Header
- Content-Type: data type (text/html, etc.)
- Content-Length: Length of Body
- Host: The client tells the server that the requested resource is on which host and which port
- User-Agent: declares the user's operating system and browser version information
- referer: The page from which the current page is redirected
- location: used with 3xx status code to tell the client where to visit next
- Cookie: Used to store a small amount of information on the client side. Usually used to implement the function of session
边栏推荐
猜你喜欢

插入排序—直接插入排序和希尔排序

网络个各种协议

app 自动化 打开app (二)

Golang: go static file processing

七夕来袭——属于程序员的浪漫

The log causes these pits in the thread block, you have to prevent

如何使用Photoshop合成星轨照片,夜空星轨照片后期处理方法

Chapter 9 of Huawei Deep Learning Course - Convolutional Neural Network and Case Practice

Golang: go open web service

HoloView -- Tabular Datasets
随机推荐
国内外最顶级的8大plm项目管理系统
Holoview--Introduction
热修复技术可谓是百花齐放
VSCode 快捷键及通用插件推荐
C语言学习概览(一)
pytest接口自动化测试框架 | parametrize中ids的用法
JVM: Runtime Data Area - PC Register (Program Counter)
GO错误处理方式
pytest接口自动化测试框架 | 使用函数返回值的形式传入参数值
22 Niu Ke Duo School 1 I. Chiitoitsu (Probability dp)
插入排序—直接插入排序和希尔排序
Gethostbyname \ getaddrinfo DNS domain name IP address is not safe
Summary of test points about app updates in different ways
my creative day
Vim扩展内容
2022.7.31-----leetcode.1161
研发过程中的文档管理与工具
POJ2421道路建设题解
22牛客多校1 C.Grab the Seat (几何 + 暴力)
Shell executes SQL to send emails