def set_http_request(self, http_request):
self._http_request = http_request<EOL>if '<STR_LIT>' in http_request.META:<EOL><INDENT>try:<EOL><INDENT>authority = http_request.META['<STR_LIT>']<EOL><DEDENT>except (AttributeError, KeyError):<EOL><INDENT>authority = '<STR_LIT>'<EOL><DEDENT>self.set_effective_agent_id(Id(<EOL>authority=authority,<EOL>namespace='<STR_LIT>',<EOL>identifier=http_request.META['<STR_LIT>']))<EOL><DEDENT>
Support the HTTPRequest ProxyConditionRecordType and checks for special effective agent ids