code: def ProcessHttpRequest(self, http_request):
          
          http_request.headers.update(self.additional_http_headers)
          if self.log_request:
              logging.info('Making http %s to %s',
                           http_request.http_method, http_request.url)
              logging.info('Headers: %s', pprint.pformat(http_request.headers))
              if http_request.body:
                  # TODO(craigcitro): Make this safe to print in the case of
                  # non-printable body characters.
                  logging.info('Body:\n%s',
                               http_request.loggable_body or http_request.body)
              else:
                  logging.info('Body: (none)')
          return http_request
docs: Hook for pre-processing of http requests.