Commit Graph
16 Commits
Author SHA1 Message Date
Guoye Zhang 5b99e008ff Make QUERY method public (#130) 2026-06-22 15:33:26 -07:00
Guoye Zhang 141600d7e6 Adopt availability macros (#127) 2026-06-22 15:16:29 -07:00
Guoye Zhang db774a277f Support embedded Swift (#116)
In order for swift-http-api-proposal to support embedded Swift,
swift-http-types has to support embedded Swift first.
2026-06-05 10:54:44 -07:00
Guoye Zhang 97c96755ae Add QUERY method (internal only) (#103) 2025-09-20 00:46:58 -07:00
Guoye Zhang e8011a7bc3 PseudoHeaderFields adopting CoW to reduce size (#88)
HTTPRequest size 288 -> 16
HTTPResponse size 80 -> 16

rdar://144520456
2025-02-21 17:30:57 -08:00
Guoye Zhang 4bd2f8104f Eliminate hasPrefix usage for pseudo HTTP header names (#87)
UTF8 view is faster than hasPrefix

rdar://144395951
2025-02-15 18:14:25 -08:00
Franz Busch f3d9ec3eef [CI] Make all CI checks green
# Motivation

We just adopted GH actions and want to make sure all the CI checks are green.

# Modification

This PR makes the necessary changes to pass all checks. Including:

- Adding a licenseignore file
- Moving `swift-format` and adopting the config that we use in all other swift on server repos.

# Result

Green CI.
2024-10-24 22:30:18 +02:00
Guoye Zhang 43107b6de1 Update contributors 2023-09-19 12:24:27 -07:00
Guoye Zhang d17b0cf651 Add RFC links to status codes and methods as well 2023-09-06 15:42:38 -07:00
Guoye Zhang e885fa315c Remove custom DecodingError and harden fields 2023-08-08 13:39:37 -07:00
Guoye Zhang 792abeab1f Support Codable 2023-08-07 18:09:53 -07:00
Guoye Zhang 6861b096b0 Merge pull request #8 from guoye-zhang/methods
Remove webdav and other unstandardized methods
2023-07-14 16:10:34 -07:00
Tomohiro Kumagai 57140e3abc Make Request.Method and Response.Status conform to Sendable. 2023-07-14 22:53:32 +09:00
Guoye Zhang ddf3eb1a63 Remove webdav and other unstandardized methods 2023-07-12 23:18:15 -07:00
Guoye Zhang ae848811f9 Internal API review feedback 2023-06-30 10:06:35 -07:00
Guoye Zhang c164739694 Import code 2023-06-30 10:06:35 -07:00