- 论坛徽章:
- 0
|
发现MS Outlook Web Access是"采用REST 架构"
删除邮件时浏览器发送了这样的指令:
BMOVE /exchange/zgdu/%E6%94%B6%E4%BB%B6%E7%AE%B1/ HTTP/1.1
Accept: */*
destination: https://mail.hurray.com.cn/excha ... %E9%82%AE%E4%BB%B6/
Referer: https://mail.hurray.com.cn/excha ... AE%B1/?cmd=contents
overwrite: f
translate: f
allow-rename: t
Content-Type: text/xml
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: mail.hurray.com.cn
Content-Length: 416
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: sessionid=d3633ebb-e750-46fa-9995-ded635cf302f:0x804; cadata="1QbagnGUjZzOD4nEDWJGWbEzqT8pdl8lFKOB66FnHUJXDc/jgZwh/6nPqA0hjBRzo6w4wOA=="
<?xml version='1.0'?>。。。。。</D:move>
POLL /exchange/zgdu/%E6%94%B6%E4%BB%B6%E7%AE%B1 HTTP/1.1
Accept: */*
Referer: https://mail.hurray.com.cn/exchange/zgdu/?Cmd=navbar
subscription-id: 501
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: mail.hurray.com.cn
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: sessionid=d3633ebb-e750-46fa-9995-ded635cf302f:0x804; cadata="1QbagnGUjZzOD4nEDWJGWbEzqT8pdl8lFKOB66FnHUJXDc/jgZwh/6nPqA0hjBRzo6w4wOA=="
服务器返回:
HTTP/1.1 207 澶氶噸鐘舵€?
Cache-Control: no-cache
Content-Length: 319
Content-Type: text/xml
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
MS-WebStorage: 6.5.7638
Date: Thu, 08 Feb 2007 02:48:24 GMT
。。。 |
|