route53/transport.py
def get_request_headers(self):
        """
        Determine the headers to send along with the request. These are
        pretty much the same for every request, with Route53.
        """

        date_header = time.asctime(time.gmtime())
        # We sign the time string above with the user's AWS secret access key
        # in order to authenticate our request.
        signing_key = self._hmac_sign_string(date_header)

        # Amazon's super fun auth token.
        auth_header = "AWS3-HTTPS AWSAccessKeyId=%s,Algorithm=HmacSHA256,Signature=%s" % (
            self.connection._aws_access_key_id,
            signing_key,
        )

        return {
            'X-Amzn-Authorization': auth_header,
            'x-amz-date': date_header,
            'Host': 'route53.amazonaws.com',
        }
def get_request_headers(self):
        date_header = time.asctime(time.gmtime())
        # We sign the time string above with the user's AWS secret access key
        # in order to authenticate our request.
        signing_key = self._hmac_sign_string(date_header)

        # Amazon's super fun auth token.
        auth_header = "AWS3-HTTPS AWSAccessKeyId=%s,Algorithm=HmacSHA256,Signature=%s" % (
            self.connection._aws_access_key_id,
            signing_key,
        )

        return {
            'X-Amzn-Authorization': auth_header,
            'x-amz-date': date_header,
            'Host': 'route53.amazonaws.com',
        }
def get_request_headers ( self ) : date_header = time . asctime ( time . gmtime ( ) ) # We sign the time string above with the user's AWS secret access key # in order to authenticate our request. signing_key = self . _hmac_sign_string ( date_header ) # Amazon's super fun auth token. auth_header = "AWS3-HTTPS AWSAccessKeyId=%s,Algorithm=HmacSHA256,Signature=%s" % ( self . connection . _aws_access_key_id , signing_key , ) return { 'X-Amzn-Authorization' : auth_header , 'x-amz-date' : date_header , 'Host' : 'route53.amazonaws.com' , }
Determine the headers to send along with the request. These are
        pretty much the same for every request, with Route53.
Determine the headers to send along with the request . These are pretty much the same for every request with Route53 .