diff options
| author | Gabriel Falcao <gabriel@nacaolivre.org> | 2012-11-08 14:49:19 -0500 |
|---|---|---|
| committer | Gabriel Falcao <gabriel@nacaolivre.org> | 2012-11-08 14:49:19 -0500 |
| commit | 0ba3ff6465c190ebb11d60bc50e93a4af9f57c55 (patch) | |
| tree | 21179fe428c42ff5139775f7fd2afb4e9cd65c9b | |
| parent | 44cc59525aec787e4bc406f8010b218e2f1577ec (diff) | |
| download | httpretty-0ba3ff6465c190ebb11d60bc50e93a4af9f57c55.tar.gz | |
turning HTTPrettyRequest into a new-style class
| -rw-r--r-- | httpretty/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httpretty/__init__.py b/httpretty/__init__.py index 5183fb6..c178303 100644 --- a/httpretty/__init__.py +++ b/httpretty/__init__.py @@ -75,7 +75,7 @@ def utf8(s): return str(s) -class HTTPrettyRequest(BaseHTTPRequestHandler): +class HTTPrettyRequest(BaseHTTPRequestHandler, object): def __init__(self, headers, body=''): self.body = utf8(body) self.raw_headers = utf8(headers) |
