Get standalone server mode working for all tests.

This commit is contained in:
Steve Pulec 2017-02-23 19:43:48 -05:00
commit 81836b6981
78 changed files with 957 additions and 783 deletions

View file

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