easier fallback.

This commit is contained in:
Steve Pulec 2015-10-30 10:13:57 -04:00
parent 127625bdc3
commit 7fcf84b32a

View File

@ -18,7 +18,7 @@ class KinesisResponse(BaseResponse):
@property
def is_firehose(self):
host = self.headers.get('host', self.headers['Host'])
host = self.headers.get('host') or self.headers['Host']
return host.startswith('firehose')
def create_stream(self):