萬盛學電腦網

 萬盛學電腦網 >> 服務器教程 >> OSS參數不支持的操作

OSS參數不支持的操作

 例如在PUT的時候,加入If-Modified-Since參數,返回501 Not Implemented錯誤

請求示例:

PUT /bucket/my-image.jpg HTTP/1.1
Host: storage.aliyun.com
Date: Wed, 28 May 2011 22:32:00 GMT
If-Modified-Since: Wed, 06 Apr 2011 10:02:46 GMT

 

返回消息頭示例:

501 Not Implemented
x-oss-request-id: 77E534EBF90372BE
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Thu, 28 Apr 2011 08:03:07 GMT
Connection: close
Server: AliyunOSS

 

返回消息體示例:

<?xml version="1.0" ?>
<Error>
	<Code>
		NotImplemented
	</Code>
	<Message>
		A header you provided implies functionality 
		that is not implemented.
	</Message>
	<Header>
		If-Modified-Since
	</Header>
	<RequestId>
		77E534EBF90372BE
	</RequestId>
	<HostId>
		storage.aliyun.com
	</HostId>
</Error>
copyright © 萬盛學電腦網 all rights reserved