def _get_ip_address(self, request):
ipaddr = request.META.get("<STR_LIT>", None)<EOL>if ipaddr:<EOL><INDENT>return ipaddr.split("<STR_LIT:U+002C>")[<NUM_LIT:0>].strip()<EOL><DEDENT>return request.META.get("<STR_LIT>", "<STR_LIT>")<EOL>
Get the remote ip address the request was generated from.