简单请求必须符合以下规定:

  1. 只能使用get/post/head请求方式
  2. 不能手动设置以下集合之外的请求头信息
    • accept
    • accept-language
    • content-language
    • content-type
  3. content-type只能设置以下内容:
    • text/plain
    • multipart/form-data
    • application/x-www-http-urlencoded
  4. 不能为XMLHttpRequestUpdate注册监听器
  5. 请求中没有使用readableStream对象

非简单请求的都是复杂请求

相关文章:

  • 2022-01-20
  • 2022-12-23
  • 2021-11-01
  • 2019-10-31
  • 2022-12-23
猜你喜欢
  • 2021-10-25
  • 2021-09-19
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案