def METHOD_NAME(media_item, remote_app_details):
    remote_media_id = media_item['upstream_media_id'] or media_item['multimedia_id']
    url = reverse('hqmedia_download', args=[media_item['media_type'], remote_media_id])
    response = _do_request_to_remote_hq(url, remote_app_details, None)
    return response.content