Testing new version of decorator.

This commit is contained in:
Steve Pulec 2017-02-15 22:35:45 -05:00
commit fde721bed7
123 changed files with 2740 additions and 1114 deletions

View file

@ -19,7 +19,10 @@ class KinesisResponse(BaseResponse):
@property
def is_firehose(self):
host = self.headers.get('host') or self.headers['Host']
try:
host = self.headers.get('host') or self.headers['Host']
except KeyError:
import pdb;pdb.set_trace()
return host.startswith('firehose')
def create_stream(self):