Skip to content

fix: "zip" Content-Type resulting in null Stream for Artifacts on Blob Storage#2905

Merged
nickfloyd merged 3 commits intooctokit:mainfrom
thomhurst:feature/zip-contenttype-fix-2
Apr 15, 2024
Merged

fix: "zip" Content-Type resulting in null Stream for Artifacts on Blob Storage#2905
nickfloyd merged 3 commits intooctokit:mainfrom
thomhurst:feature/zip-contenttype-fix-2

Conversation

@thomhurst
Copy link
Copy Markdown
Contributor

Fixes #2898

Sorry, the last one didn't actually solve it because the Content-Type wasn't being set properly by the System.Net classes - Probably due to an invalid format.

Copy link
Copy Markdown
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the docs describing why this is necessary, tests and validation here. ❤️ I'm going to take a note to see if I can determine why blob storage is behaving like this - I just don't feel good about the behavior of storage in this case.

Thank you for the quick turn around on this.

@nickfloyd nickfloyd added the Type: Bug Something isn't working as documented label Apr 15, 2024
@nickfloyd nickfloyd changed the title Fix "zip" Content-Type resulting in null Stream for Artifacts on Blob Storage fix: "zip" Content-Type resulting in null Stream for Artifacts on Blob Storage Apr 15, 2024
@nickfloyd nickfloyd merged commit 4ca8f1c into octokit:main Apr 15, 2024
@thomhurst
Copy link
Copy Markdown
Contributor Author

Thanks @nickfloyd ! Any chance of releasing a patch version for this? 11.0.1 maybe. Would unblock my pipeline on another project 😄

@nickfloyd
Copy link
Copy Markdown
Contributor

Hey @thomhurst Absolutely... the new patch is building / releasing now. Thanks again for the efforts here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[BUG]: Download Artifact - Content Stores Differing Content-Types Cause Errors

3 participants