py3 fix.
This commit is contained in:
parent
fe2126b727
commit
015e7ea9a2
@ -18,7 +18,8 @@ class KinesisResponse(BaseResponse):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_firehose(self):
|
def is_firehose(self):
|
||||||
return self.headers['host'].startswith('firehose')
|
host = self.headers.get('hose', self.headers['Host'])
|
||||||
|
return host.startswith('firehose')
|
||||||
|
|
||||||
def create_stream(self):
|
def create_stream(self):
|
||||||
stream_name = self.parameters.get('StreamName')
|
stream_name = self.parameters.get('StreamName')
|
||||||
|
Loading…
Reference in New Issue
Block a user