Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

零散知识点 #35

Open
zonglang opened this issue Jul 25, 2019 · 0 comments
Open

零散知识点 #35

zonglang opened this issue Jul 25, 2019 · 0 comments

Comments

@zonglang
Copy link
Owner

GET和POST的语义上的区别

  • 参数的位置(URL && body)
  • GET回退无害,POST再次请求
  • GET的URL会被记录
  • GET只能URL编码,只接受ACSII,POST不会
  • GET的URL有长度限制
    单次请求URL长度受限制,限制数据量
    但实际上都是tcp请求,GET会发两个tcp,POST会先发送header,服务器返回100,再发送data
    原文
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant