??PUT? | ??向指定的目錄上載文件 |
??DELETE | ??刪除指定的資源 |
??COPY | ??將指定的資源復制到Destination消息頭指定的位置 |
??MOVE | ??將指定的資源移動到Destination消息頭指定的位置 |
??SEARCH | ??在一個目錄路徑中搜索資源 |
??PROPFIND | ??獲取與指定資源有關的信息,如作者、大小與內容類型 |
??TRACE | ??在響應中返回服務器收到的原始請求 |
curl?-v?-X OPTIONS http://www.example.com/test/
curl?-v?-T test.html ?http://www.example.com/test/test.html
curl?-X DELETE http://www.example.com/test/test2.html
<security-constraint>
<web-resource-collection>
<web-resource-name>fortune</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>HEAD</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint></auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>