使用未定義 HTTP Method 存取 Bucket/Object 觸發 405
請求範例
abc /BucketName HTTP/1.1
Host: storage.aliyun.com
Date: date
Authorization: signatureValue
回應範例
HTTP/1.1 405 Method Not Allowed
Allow: GET, DELETE, HEAD, PUT
Content-Type: application/xml
MethodNotAllowed
The specified method is not allowed against this resource.
BUCKET
abc
2403382433A2EDA8
storage.aliyun.com
說明
Allow 標頭列出該資源支援的方法 (Bucket 層級:GET, DELETE, HEAD, PUT)。
ResourceType 區分 BUCKET 或 OBJECT。
- 僅使用標準 HTTP 方法 (GET/PUT/DELETE/HEAD/POST 等) 操作 OSS 資源。