请求、响应和服务器之间有什么区别?
请求、响应和服务器之间有什么区别?
What is the difference between request, response and server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
请求、响应和服务器之间有什么区别?
What is the difference between request, response and server?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
请求:从客户端到服务器
响应:从服务器到客户端
服务器:接收请求并发送响应
客户端:发送请求并接收响应
Request : From Client to Server
Response: From Server to Client
Server: Receive Request and Send Response
Client: Send Request and Receive Response
客户端(网络用户)向服务器发出请求,服务器处理请求并确定适当的响应
A client (web user) makes a Request to a Server which processes the Request and determines the appropriate Response
服务器:为客户端提供某些东西的机器。
专注于服务器,
请求是到达服务器请求某些内容的消息。
响应是从服务器发送到客户端的消息,用于向客户端提供什么。
无论如何,REQUEST/RESPONSE 意味着您可以用常识来了解它。
也可以看看:
http://en.wikipedia.org/wiki/Request-response
Server: Machine that provide something for client.
Focus at Server,
Request is message that arrive to server for request something.
Response is message that send from server to client for give thing that client what.
anyway REQUEST/RESPONSE means you can know it with common sense.
See also:
http://en.wikipedia.org/wiki/Request-response
第一个答案(Ramesh Soni 的答案)简单明了。 我还想分享与此相关的有用术语区别。
请求和查询有什么区别???
首先,查询和请求都可以是名词和动词。 例如:
请求某物是请求某物、物体或恩惠等。请求是礼貌的要求。 查询是询问某事,即您想要信息。 查询是一个问题。
此外,QUERY 是一个查询(Query 和 enquiry 是同义词)
它们都是请求,但区别在于QUERY是精确请求。 在信息学中,如果您需要有关某事物的信息,则需要发送包含精确信息的特定请求。
"我查询了有关用户帐户 Maxim Pavlov 的信息" = "我需要了解此网站的用户。特别是,我需要知道是否有任何 Maxim Pavlov 在此网站上注册"。
The 1st answer (Ramesh Soni's answer) is simple and concise. I also wanna share a useful terms distinction that's relevance to this.
What's the difference between request and query???
First of all, query and request can both be nouns and verbs. E.g:
To request something is to ask for something, an object or a favour etc. A request is a polite demand. To query is to ask about something i.e. you are wanting information. A query is a question.
Also, QUERY is an inquiry(Query and inquiry are synonyms)
They are both requests but the difference is that the QUERY is a precise request. In informatics, if you need information about something you need to send a specific request with precise information.
"I queried information about user account Maxim Pavlov" = "I need to know about this website users. In particular, I need to know if there is any Maxim Pavlov registered on this site".