- 博客(4)
- 资源 (6)
- 收藏
- 关注
翻译 HTTP/1.1 协议常用的方法
原文地址 1. 幂等方法 幂等是指执行N>0个请求,得到的返回是等效的. 请求方法 GET,HEAD, PUT, DELETE 都是幂等方法。但是方法OPTIONS,TRACE就不具备幂等性. 2. OPTIONS OPTIONS请求主要是用来请求指定URI是否可用的方法. OPTIONS方法允许客户端主动终止请求和请求在服务器端的资源.服务器返回的response 是不能
2016-01-27 20:12:04 917
原创 跨域 上传文件 的一个例子
web端: var xhr = new XMLHttpRequest(); /** * handle callback */ xhr.onreadystatechange = onreadystatechange;
2016-01-21 20:28:16 3192
原创 默认Spring DispatcherServlet 不支持 OPTIONS方法
For default Spring DispatcherServlet supports GET, HEAD, POST, PUT, PATCH and DELETE only; if you want to support TRACE and OPTIONS you have to put "dispatchOptionsRequest" and "dispatchTraceRequest"
2016-01-21 11:05:05 2090
转载 XMLHttpRequest
PropertyDescriptiononreadystatechangeStores a function (or the name of a function) to be called automatically each time the readyState property changesreadyStateHolds the status of t
2016-01-18 16:57:48 374
主题网络爬虫研究综述.pdf
2013-02-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人