Skip to content

fix(ci): Add Content-Length header to NuGet re-list request#401

Merged
currantw merged 1 commit into
valkey-io:mainfrom
currantw:currantw/fix-relist-workflow
May 13, 2026
Merged

fix(ci): Add Content-Length header to NuGet re-list request#401
currantw merged 1 commit into
valkey-io:mainfrom
currantw:currantw/fix-relist-workflow

Conversation

@currantw
Copy link
Copy Markdown
Collaborator

Summary

Fix the re-list NuGet workflow that fails with HTTP 411 (Length Required).

Issue Link

⚪ None

Features and Behaviour Changes

⚪ None — bug fix for the workflow added in #400.

Implementation

The NuGet re-list API (POST /api/v2/package/{ID}/{VERSION}) requires a Content-Length: 0 header when the request has no body. Without it, the server returns HTTP 411. Added the missing header to the curl command.

Limitations

⚪ None

Testing

⚪ Will be validated by re-running the "Re-list NuGet Package" workflow with version 1.1.0 after merge.

Related Issues

Checklist

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated and all checks pass.
  • CHANGELOG.md, README.md, DEVELOPER.md, and other documentation files are updated.
  • Destination branch is correct - main or release
  • Create merge commit if merging release branch into main, squash otherwise.

The NuGet API returns HTTP 411 (Length Required) on POST requests without a Content-Length header. Add Content-Length: 0 to the curl command since the re-list endpoint has no request body.

Signed-off-by: currantw <taylor.curran@improving.com>
@currantw currantw self-assigned this May 13, 2026
@currantw currantw requested review from alexr-bq and xShinnRyuu May 13, 2026 22:05
@currantw currantw added ci CI/CD pipelines and GitHub Actions dev Internal changes like cleanup, refactoring, or developer tools. labels May 13, 2026
@currantw currantw merged commit 435c804 into valkey-io:main May 13, 2026
14 checks passed
@currantw currantw deleted the currantw/fix-relist-workflow branch May 13, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD pipelines and GitHub Actions dev Internal changes like cleanup, refactoring, or developer tools.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants