swift-server / swift-server/async-http-client

Deprecate APIs which accept a URL as a string

Open
#571 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
1.1k
Forks
156
PR merge metrics
No merged PRs in 30d

Description

See here for more information. In short: URL strings are ambiguous.

IMO, APIs which accept a URL as a string should be deprecated, and replaced with APIs accepting a parsed URL value.

What do you think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by reading the linked discussion on ambiguous URL strings and inventory the public APIs that accept URL strings. Done would mean an agreed scope for deprecations and parsed-URL replacements, with repository-specific tests identified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.