apple / apple/container

[Bug]: User-Agent header is not being sent in HTTP/1.1 requests to Docker registries

Open
#1,583 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### I have done the following

- [x] I have searched the existing issues
- [x] If possible, I've reproduced the issue using the 'main' branch of this project

### Steps to reproduce

Proxy the requests and watch them

### Problem description

User-Agent is a *SHOULD* header according to the HTTP/1.1 RFC, and not a *MUST*, but it really should be set

### Environment

```markdown
- OS: macOS 26.5
- Xcode: 26.5
- Container: 0.12.1.0
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a proxy and watching HTTP/1.1 requests sent to Docker registries. Trace where those requests are constructed and verify that the completed requests include a User-Agent header.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.