Skip to content

fix: add WWW-Authenticate header to upload-pack discovery to prevent … - #34

Merged
livrasand merged 1 commit into
mainfrom
fix--add-WWW-Authenticate-header-to-upload-pack-discovery-to-prevent-auth-prompts
Feb 20, 2026
Merged

fix: add WWW-Authenticate header to upload-pack discovery to prevent …#34
livrasand merged 1 commit into
mainfrom
fix--add-WWW-Authenticate-header-to-upload-pack-discovery-to-prevent-auth-prompts

Conversation

@livrasand

@livrasand livrasand commented Feb 20, 2026

Copy link
Copy Markdown
Owner

…auth prompts

Agregado header WWW-Authenticate: None en UploadPackDiscoveryHandler para evitar que clientes Git soliciten autenticación innecesaria durante git-upload-pack advertisement.

Summary by CodeRabbit

  • Chores
    • Updated HTTP header handling for authentication protocol compliance.

…auth prompts

Agregado header WWW-Authenticate: None en UploadPackDiscoveryHandler para evitar que clientes Git soliciten autenticación innecesaria durante git-upload-pack advertisement.
@coderabbitai

coderabbitai Bot commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This pull request adds a single HTTP header to the UploadPackDiscoveryHandler response. The WWW-Authenticate: "None" header is now set alongside existing response handling, without modifying control flow or other behavior.

Changes

Cohort / File(s) Summary
HTTP Handler Response Header
internal/http/handlers.go
Added WWW-Authenticate: "None" HTTP header to the UploadPackDiscoveryHandler response.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • gitgost-anonymous

Poem

🐰 A header swift, so light and clean,
"No auth needed," the server's seen,
One line of code, a rabbit's cheer,
WWW-Authenticate appears! 🎉

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix--add-WWW-Authenticate-header-to-upload-pack-discovery-to-prevent-auth-prompts

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@livrasand
livrasand merged commit 004c26e into main Feb 20, 2026
1 check was pending
@livrasand
livrasand deleted the fix--add-WWW-Authenticate-header-to-upload-pack-discovery-to-prevent-auth-prompts branch February 20, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants