tencent cloud

Feedback

Querying Guetzli Status

Last updated: 2024-02-18 10:36:36

    Overview

    This API is used to query whether the Guetzli compression feature is enabled.

    Request

    Sample request

    GET /?guetzli HTTP/1.1
    Host: <BucketName-APPID>.pic.<Region>.myqcloud.com
    Date: GMT Date
    Authorization: Auth String
    Note:
    Authorization: Auth String (See Request Signature for details.)
    When this feature is used by a sub-account, relevant permissions must be granted as instructed in Authorization Granularity Details.

    Request line

    GET /?guetzli HTTP/1.1
    This API accepts GET requests.

    Request headers

    Common request headers

    The implementation of this operation uses common request headers. For more information on common request headers, see Common Request Headers.

    Non-common request headers

    This API does not use any non-common request header.

    Request body

    The request body of this request is empty.

    Response

    Response headers

    Common response headers

    This response uses common response headers. For more information on common response headers, see Common Response Headers.

    Non-common response headers

    This API does not use any non-common response header.

    Response body

    <?xml version="1.0" encoding="UTF-8" ?>
    <GuetzliStatus>on</GuetzliStatus>
    Valid values: on, off.