Skip to content

Question on DownloadReleaseAsset redirect logic #3915

@stevehipwell

Description

@stevehipwell

I'm just looking at the implementation of DownloadReleaseAsset based on some code that calls is with a copy of the GitHub client as the followRedirectsClient and I'm trying to understand why the redirect is always disabled? Based on what I've seen on GitHub it looks like some assets were being server from AWS (9 years ago) which in turn was having issues with the headers.

I'm wondering if this implementation is outdated? At a minimum shouldn't redirects to https://release-assets.githubusercontent.com (or github.com) be handled by the primary client if no additional client is passed in?

I think we'd also need to look at how GHES and GHEC work, but I'd expect that they both need authentication to access artifacts.

CC @gmlewis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions