We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718845b commit 66c523cCopy full SHA for 66c523c
Sources/YData/Extensions/HTTPHeaders.swift
@@ -0,0 +1,7 @@
1
+import Vapor
2
+
3
+public extension HTTPHeaders {
4
+ init(_ headers: [String: String]) {
5
+ self.init(headers.map { ($0, $1) })
6
+ }
7
+}
0 commit comments