def fetch(self, request):
    log_request(request)
    method = request.get_method()
    url = request.get_url()
    body = request.get_post_body()
    headers = request.get_headers()
    result = urlfetch.fetch(
        method=method,
        url=url,
        payload=body,
        headers=headers)
    response = Response(result.status_code, result.content)
    log_response(response)
    return response
Performs a synchronous fetch request.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/opensocial/http.py/AppEngineUrlFetch.fetch