from tornado.httpclient import AsyncHTTPClient, HTTPRequest, HTTPClient
from tornado.httputil import url_concat
import datetime
import hashlib
import hmac


class SQSRequest(HTTPRequest):
    """SQS AWS Adapter for Tornado HTTP request"""
    def __init__(self, *args, **kwargs):
        super(SQSRequest, self).__init__(*args, **kwargs)


@@ -273,16 +273,540 @@
 wargs):%0A
+        t = datetime.datetime.utcnow()%0A        method = kwargs.get('method', 'GET')%0A        url = kwargs.get('url') or args%5B0%5D%0A        params = sorted(url.split('?')%5B1%5D.split('&'))%0A        canonical_querystring = '&'.join(params)%0A        kwargs%5B'url'%5D = url.split('?')%5B0%5D + '?' + canonical_querystring%0A        args = tuple()%0A        host = url.split('://')%5B1%5D.split('/')%5B0%5D%0A        canonical_uri = url.split('://')%5B1%5D.split('.com')%5B1%5D.split('?')%5B0%5D%0A        service = 'sqs'%0A        region = kwargs.get('region', 'eu-west-1')%0A
         

Add init code to deal with AWS HTTP API