apple / apple/swift-http-types

Add calculated Content-Type header in HTTPResponse

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

Description

Need add calculated Content-Type header in HTTPResponse because if need add Content-Type in response then need add it into swiftopenapi.yaml file, but it it is to many options of Content-Type header. On image exist only some of many

Image

Contributor guide

Open the contributing guide

Research direction

Start by reading HTTPResponse and the referenced swiftopenapi.yaml to understand how response headers and Content-Type options are currently represented. Clarify how the header should be calculated across response bodies, then confirm that the resulting behavior covers the requested image case and the supported content types.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.