GET /for-test.m3u8?ci-process=pm3u8&expires= HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>
参数名称 | 描述 | 类型 | 是否必选 |
ci-process | 操作类型,固定使用 pm3u8 | String | 是 |
expires | 私有 ts 资源 url 下载凭证的相对有效期,单位为秒,范围为[3600, 43200] | String | 是 |
GET /for-test.pm3u8?ci-process=pm3u8&expires=3600 HTTP/1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Fri, 10 Mar 2016 09:45:46 GMTAuthorization: q-sign-algorithm=sha1&q-ak=AKIDWtTCBYjM5OwLB9CAwA1Qb2ThTSUjfG****-sign-time=1484213027;32557109027&q-key-time=1484213027;32557109027&q-header-list=host&q-url-param-list=acl&q-signature=dcc1eb2022b79cb2a780bf062d3a40e120b4****Content-Length: 0
HTTP/1.1 200 OKContent-Type: application/x-mpegURLContent-Length: 266005Connection: keep-aliveDate: Fri, 10 Mar 2016 09:45:46 GMTServer: tencent-cosx-cos-request-id: NTg3NzRiMjVfYmRjMzVfMTViMl82ZGZm****<M3U8文件内容>
本页内容是否解决了您的问题?