enable HTTP/1.1 Host: cdn.baidubce.com Content-Length: 0 响应示例 HTTP/1.1 200 OK Server: nginx Content-Type: application/json; charset=utf-8 Connection: keep-alive x-bce-request-id: a428a0a5-7f2c-00d3-2a3
The specified If-Match header doesn't match the ETag header. 412 Precondition Failed ETag不匹配 RequestExpired Request has expired.
Response %s, code: %s, msg: %s' % ( e . last_error . status_code , e . last_error . code , e . last_error . args ) ) else : LOG . error ( 'list_instances failed. Unknown exception: %s' % e )
referer content-type String 实体类型 ResponeHeaderModel 参数名称 类型 描述 x-powered-by String 服务端语言版本 transfer-encoding String 传输编码格式 set-cookie String cookie expires String 超时 vary String vary server String 服务端版本 connection
cdn.baidubce.com Accept: */* Content-Length: 0 Content-Type: application/x-www-form-urlencoded 响应示例 HTTP/1.1 200 OK Server: nginx Date: Tue, 26 Jul 2016 05:05:30 GMT Content-Type: application/json; charset=utf-8 Connection
bj.bcebos.com Date: Wed, 06 Apr 2016 06:34:40 GMT Authorization: Authorizationstring 返回示例 HTTP/1.1 204 No Content x-bce-request-id: 1a5fd81e-626b-45b3-a885-15fff9cd106c Date: Tue, 17 May 2016 08:36:52 GMT Connection
signature的签名方式可以参考Python代码: import base64 import hashlib import hmac sk = bytes('<your secret key>','utf-8') policy = bytes('your policy','utf-8') signature = hmac.new
预付费:Prepaid,后付费:Postpaid zoneNames List<String> 可用区list 状态编码定义 实例状态 状态值 描述 Creating 创建中 Running 运行中 Rebooting 实例重启中 Pausing 暂停中 Paused 已欠费 Deleted 已释放 Deleting 释放中 Failed 已失败 Modifying 配置变更中 Modifyfailed
cdn.baidubce.com Accept: */* Content-Length: 0 Content-Type: application/x-www-form-urlencoded 响应示例 HTTP/1.1 200 OK Server: nginx Date: Tue, 26 Jul 2016 05:05:30 GMT Content-Type: application/json; charset=utf-8 Connection
BceServerError ) : LOG . error ( 'send request failed.