Testing new version of decorator.
This commit is contained in:
parent
d3df810065
commit
fde721bed7
123 changed files with 2740 additions and 1114 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue