Groups
Groups
Sign in
Groups
Groups
REST实战
Conversations
About
Send feedback
Help
REST中“State Transfer”的确切含义
12 views
Skip to first unread message
dlee
unread,
Nov 20, 2010, 11:20:36 PM
11/20/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to REST实战
发现以前我对于REST中的“State Transfer”的解释是错误的,把“State Transfer”和“State
Transition”搞混淆了。
REST中的“State Transfer”其实说的就是在客户端和服务器端之间转移(Transfer)资源的表述,而资源的表述呢,其实就是资源
在某个特定时刻的状态的描述。
所以说“HTTP是一种转移协议,而不是一种传输协议”。传输协议(transport protocol)做的是底层搬运比特之类的苦力活,转移协议
(transfer protocol)做的事情要比传输协议更高级。
Reply all
Reply to author
Forward
0 new messages