Use content-type for detecting client
This commit is contained in:
parent
d6af1b9ae5
commit
9b3fa83730
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class ElasticMapReduceResponse(BaseResponse):
|
|||
|
||||
@property
|
||||
def boto3_request(self):
|
||||
return 'Boto3' in self.headers.get('User-Agent', [])
|
||||
return 'json' in self.headers.get('Content-Type', [])
|
||||
|
||||
def add_job_flow_steps(self):
|
||||
job_flow_id = self._get_param('JobFlowId')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue