Example #1
0
 def use_double_uri_encode(self):
     """
     We assume the uri will be encoded once in preparation for transmission.  Certain services
     do not decode before checking signature, requiring us to actually double-encode the uri in the canonical request
     in order to pass a signature check.
     """
     return _awscrt.signing_config_get_use_double_uri_encode(self._binding)
Example #2
0
    def use_double_uri_encode(self):
        """
        bool: Whether to double-encode the resource path when constructing
        the canonical request (assuming the path is already encoded).

        By default, all services except S3 use double encoding.
        """
        return _awscrt.signing_config_get_use_double_uri_encode(self._binding)