当前位置:网站首页>1-20 pre inspection request
1-20 pre inspection request
2022-06-30 21:32:00 【Endless pie】
Pre inspection request
CORS Classification of requests
Client is requesting CORS Excuse time , Depending on the request method and request header , Can speak CORS Your requests fall into two broad categories , Namely :
1. A simple request
Requests that meet both of the following conditions , It's a simple request :
(1) Request mode :GET、POST、HEAD One of the three
(2)HTTP The header information does not exceed the following fields :
No custom header fields 、Accept、Accept-Language、Content-Language、DPR、Downlink、Save-Data、Viewport-Width、Width、Content-Type( There are only three values application/x-www-form-urlencoded、multipart/form-data、text/plain)
2. Pre inspection request
A request that meets any of the following conditions , All require pre inspection requests :
- The request method is GET、POST、HEAD、 Requests beyond Method type
- The request header contains a custom header field
- Sent... To the server application/json Formatted data
Before the browser officially communicates with the server , The browser will send OPTION Ask for a pre check , To know if the server allows the actual request , So this time OPTION Ask to be “ Pre inspection request ”. After the server successfully responds to the pre check request , To send a real request , And carry real data .
边栏推荐
- Double solid histogram / double y-axis
- Reading notes of Clickhouse principle analysis and Application Practice (2)
- 数字货币:影响深远的创新
- NCAT detailed introduction (Reprint)
- Export El table as is to excel table
- 1-13 express监听GET和POST请求&处理请求
- Electronic scheme development - Intelligent rope skipping scheme
- . NETCORE redis geo type
- 《ClickHouse原理解析与应用实践》读书笔记(2)
- 侧睡哈哈哈哈
猜你喜欢

Four Misunderstandings of Internet Marketing
笔记【JUC包以及Future介绍】

Go build server Foundation

Icml2022 | utility theory of sequential decision making

USBCAN分析仪的配套CAN和CANFD综合测试软件LKMaster软件解决工程师CAN总线测试难题

ArcGIS构建发布简单路网Network数据服务及Rest调用测试

Open source internship experience sharing: openeuler software package reinforcement test

Introduction of 3D Max fine model obj model into ArcGIS pro (II) key points supplement

jenkins下载插件下载不了,解决办法

clickhouse原生监控项,系统表描述
随机推荐
Prediction and regression of stacking integrated model
Apply for vector bus protocol color picture wallpaper hanging picture, very good!
jupyterbook 清空控制台输出
A small step in code change and a big leap in thinking
1-21 JSONP接口
Is it safe to open an account for stock trading on mobile phones?
1-15 nodemon
开源实习经验分享:openEuler软件包加固测试
Understanding polymorphism
jupyter notebook/lab 切换conda环境
How to run jenkins build, in multiple servers with ssh-key
twelve thousand three hundred and forty-five
Flutter 嵌套地狱?不存在的,ConstraintLayout 来解救!
ssh 默认端口不是22时的一些问题
Test medal 1234
银行集体下架的智能投顾产品,为何成了“鸡肋”?
1-11 create online file service
Use the log server to output the topn of various Apache logs
1-12 preliminary understanding of Express
Double solid histogram / double y-axis