Use content-type for detecting client
This commit is contained in:
parent
d6af1b9ae5
commit
9b3fa83730
@ -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…
Reference in New Issue
Block a user