code: def __FinalizeRequest(self, http_request, url_builder):
          
          if (http_request.http_method == 'GET' and
                  len(http_request.url) > _MAX_URL_LENGTH):
              http_request.http_method = 'POST'
              http_request.headers['x-http-method-override'] = 'GET'
              http_request.headers[
                  'content-type'] = 'application/x-www-form-urlencoded'
              http_request.body = url_builder.query
              url_builder.query_params = {}
          http_request.url = url_builder.url
docs: Make any final general adjustments to the request.