满足以下条件的请求即为简单请求:
-
请求方法:GET、POST、HEAD
-
除了以下的请求头字段之外,没有自定义的请求头
-
Accept
-
Accept-Language
-
Content-Language
-
Content-Type
-
-
Content-Type的值只有以下三种 (Content-Type一般是指在post请求中,get请求中设置没有实际意义)
-
text/plain
-
multipart/form-data
-
application/x-www-form-urlencoded
-
-
请求中的任意XMLHttpRequestUpload 对象均没有注册任何事件监听器 (未验证)
-
XMLHttpRequestUpload 对象可以使用 XMLHttpRequest.upload 属性访问
-
-
请求中没有使用 ReadableStream 对象 (未验证)