Daniel Eggert
|
a169cebb45
|
URI Templating (#1198)
* Initial implementation.
* Cleanup and fix normalizedAddingPercentEncoding()
* Use failing initializer on URL instead of makeURL()
* Add standard copyright header
* Mark helper functions as fileprivate
* URL.Template.init() needs to be failable
* Rename InvalidTemplateExpression → URL.Template.InvalidExpression
* Add missing @available
* Update copyright header
* Convert tests XCTest → Swift Testing
* Use UInt8.isValidHexDigit
* Use URLParser.swift methods for unreserved + reserved characters
* Cleanup normalizedAddingPercentEncoding()
* Use String(decoding:as:)
* guard & white-space
* Cleanup “defer”
* Rename files URI… → URL…
* Add new files to CMakeLists.txt
* Add benchmarks.
* Add missing @available, 2
* Fix doc comment.
* Remove ExpressibleByStringLiteral conformance for URL.Template.VariableName
* Improve documentation comments
* Fix for 7b14d0bc62
* Fix doc comment
* Do not force unwrap “maximum length”
|
2025-04-21 16:01:10 -07:00 |
|