当前位置:网站首页>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
边栏推荐
- 【STM32】入门(二):跑马灯-GPIO端口输出控制
- Gethostbyname \ getaddrinfo DNS domain name IP address is not safe
- 基于tika实现对文件类型进行判断
- 走进音视频的世界——mp3封装格式
- centos 安装php7.4,搭建hyperf,转发RDS
- Monitor the width and height of the parent element, adapt to the size of the plug-in
- 巧妙利用unbuffer实时写入
- Self-made a remote control software - VeryControl
- POJ1287联网题解
- 【南瓜书ML】(task4)神经网络中的数学推导(更新ing)
猜你喜欢

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

Self-made a remote control software - VeryControl

C语言中编译时出现警告C4013(C语言不加函数原型产生的潜在错误)

HoloView--live data

VSCode插件推荐(Rust环境)

Json对象和Json字符串的区别

Golang: go static file processing

Upgrade to heavyweight lock, lock reentrancy will lead to lock release?

HoloView 在 jyputer lab/notebook 不显示总结

Redis 3.2.3 crashed by signal: 11 服务宕机问题排查
随机推荐
pytest接口自动化测试框架 | 跳过测试类
JVM: Runtime Data Area - PC Register (Program Counter)
my creative day
22 Niu Ke Duo School 1 I. Chiitoitsu (Probability dp)
JSON 与 JS 对象的区别
Do I need to introduce any dependencies to write data to clickhouse using flinksql?
第02章 MySQL的数据目录【1.MySQL架构篇】【MySQL高级】
pytest接口自动化测试框架 | 单个/多个参数
POJ1287联网题解
C语言学习概览(一)
Summary of test points about app updates in different ways
Go supports OOP: use struct instead of class
22牛客多校1 J.Serval and Essay (启发式合并)
POJ2031空间站题解
配置我的kitty
372. 超级次方
pytest interface automation testing framework | single/multiple parameters
Shell executes SQL to send emails
special day to remember
监听父元素宽高,自适应插件大小