Skip to content

Commit f1721ea

Browse files
committed
Adds CaseIterable to HTTPMethod
1 parent 516e1a4 commit f1721ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/HTTPMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import Foundation
2929

3030
See [IETF document](https://tools.ietf.org/html/rfc7231#section-4.3)
3131
*/
32-
public enum HTTPMethod: String, Sendable {
32+
public enum HTTPMethod: String, Sendable, CaseIterable {
3333
case GET
3434
case POST
3535
case PUT

0 commit comments

Comments
 (0)