Skip to content

Commit

Permalink
Merge pull request #2 from minhoryang/Issue1_Abstracts
Browse files Browse the repository at this point in the history
Compatibility with aiohttp 0.22
  • Loading branch information
Pete Wildsmith authored Nov 24, 2016
2 parents 29b8d21 + 9c6ab2e commit 80c1fd7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aioproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import aiohttp.log
import aiohttp.server
import aiohttp.web
from aiohttp.multidict import CIMultiDictProxy
from aiohttp import CIMultiDictProxy

logging.basicConfig(level=logging.WARNING)
logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -125,6 +125,9 @@ async def handler(self, request):
def route(self):
pass

expect_handler = None
http_exception = get_info = lambda self: None


class HttpStatus(Exception):
def __init__(self, status=200, content=b'', content_type='text/plain'):
Expand Down

0 comments on commit 80c1fd7

Please sign in to comment.