apple / apple/swift-http-types

Consider an `HTTPVersion` type

Open
#140 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1k
Forks
80
Avg merge
2d 4h
Merged PRs (30d)
12

Description

Vapor and NIO both have an `HTTPVersion` type and I imagine the new HTTP server will want one as well. Most clients and server will need a currency type to determine/represent the current version they're talking. Is this something that would be welcome in the repo? It seems silly to have multiple representations around if we deem this a core type. Happy to do a PR if there's interest for this

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files or tests. Start by comparing the HTTPVersion types in Vapor and NIO, then clarify the requirements for a shared type used by HTTP clients and servers; done means the repository has an agreed representation and scope for the proposed core type.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.