Commit Graph
47 Commits
Author SHA1 Message Date
Guoye Zhang 4ba4e72b06 Remove the public class 2024-10-23 12:21:05 -07:00
Guoye Zhang 6b3c3a26b7 Adopt NIOLock 2024-10-23 11:26:17 -07:00
Guoye Zhang 511d828079 Update CONTRIBUTORS 2024-07-16 17:10:23 -07:00
Eric Rosenberg 8fd0302d6e alphabetical 2024-07-03 14:11:19 -07:00
Eric Rosenberg 5ff044a1a4 Make RFC 9209 proxy-status public 2024-07-02 15:05:22 -07:00
Guoye Zhang 981c910492 Wrong error thrown when parsing trailer fields 2024-06-26 13:29:27 -07:00
Guoye Zhang b6db31de17 Remove mutating 2024-06-19 19:33:03 -07:00
Guoye Zhang 291e929d94 Add conveniences for modern HTTP parsers 2024-06-18 20:22:37 -07:00
Guoye Zhang 8f1ba42db6 Merge pull request #48 from guoye-zhang/lenient-legalize
Support lenient legalization of header field values
2024-05-13 10:30:36 -07:00
Guoye Zhang a584b11c3a Merge pull request #47 from guoye-zhang/connect-udp-bind
Connect-UDP-Listen to Connect-UDP-Bind
2024-05-13 10:16:45 -07:00
Guoye Zhang 7c0a607f38 Merge pull request #49 from simonjbeaumont/sb/musl-support
Support compiling against Musl
2024-05-09 02:20:16 -07:00
Si Beaumont 146ca95fbb Support compiling against Musl libc 2024-05-08 13:26:10 +01:00
Guoye Zhang c8357002a1 Update comment 2024-04-24 10:37:47 -07:00
Guoye Zhang 20d5ed91ae Support lenient legalization of header field values 2024-04-23 17:31:54 -07:00
Guoye Zhang 8fb12e8d82 Connect-UDP-Listen to Connect-UDP-Bind 2024-04-23 17:14:44 -07:00
Joannis Orlandos dfefea8004 Reserve capacity before appending elements during initialization through dictionary literal 2024-02-01 00:32:19 +01:00
Guoye Zhang be3407abef Add Connect-UDP-Listen 2024-01-16 14:08:48 -08:00
Max Desiatov a114507558 Fix building for WASI 2024-01-11 17:16:25 +00:00
Guoye Zhang fee4574296 Revert argument changes 2023-12-02 13:03:51 -08:00
Gwynne Raskind 28a5f3aaeb Per PR discussion, remove platform specifiers and discontinue use of some rather than forcing other packages to change their manifests. 2023-12-02 00:50:23 -06:00
Guoye Zhang 37e6ccad1c Fix format 2023-11-29 11:09:23 -08:00
Guoye Zhang 43c78a4f9d Improve the performance of setting and parsing status code 2023-11-28 18:32:11 -08:00
Guoye Zhang b4af788d7e Merge pull request #33 from guoye-zhang/fields-sequence
Eliminate the allocation of single element arrays
2023-11-16 23:34:38 -08:00
Guoye Zhang e716d5d2bc Values -> fields 2023-11-15 16:56:35 -08:00
Guoye Zhang 165e7ecdd3 Remove @_implementationOnly 2023-11-14 18:31:27 -08:00
Guoye Zhang 2d2eb2942b Eliminate the allocation of single element arrays 2023-11-14 16:50:46 -08:00
Guoye Zhang 43107b6de1 Update contributors 2023-09-19 12:24:27 -07:00
Guoye Zhang 31ddb8d558 Merge pull request #29 from guoye-zhang/field-names
Complete built-in field names
2023-09-19 12:22:20 -07:00
Guoye Zhang 67a2dc8932 Merge pull request #27 from guoye-zhang/rename
Rename `raw` subscript to `values`
2023-09-19 12:22:13 -07:00
Jager-yoo bddc9f79ba Fix equality check logic in HTTPResponse's == func 2023-09-15 22:54:43 +09:00
Guoye Zhang d17b0cf651 Add RFC links to status codes and methods as well 2023-09-06 15:42:38 -07:00
Guoye Zhang b45c5cf7c8 Complete built-in field names 2023-09-06 15:26:45 -07:00
Guoye Zhang 4105126730 Rename raw subscript to values 2023-09-02 12:48:20 -07:00
Guoye Zhang e6f8a18b0e Keep track of both the first and last index of a field name 2023-08-17 17:33:38 -07:00
Guoye Zhang bd06898009 Merge pull request #23 from guoye-zhang/codable
Support Codable
2023-08-17 15:37:47 -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 4c7d1331a5 Field order should be insignificant between fields of different names 2023-08-07 16:14:56 -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
Guoye Zhang a489393bc9 Merge main into format 2023-07-14 16:01:05 -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 f610691a14 Code formatting fixes
Adding additional self. missed by SwiftFormat
2023-07-12 16:44:56 -07:00
Guoye Zhang 9ff7d8f4d6 Use fallback functions 2023-07-09 03:39:53 -07:00
Guoye Zhang 885b94bd13 Reduce Swift version requirement to 5.7 2023-07-06 22:52:11 -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