File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ struct HTTPParsedFields {
100
100
}
101
101
102
102
var request : HTTPRequest {
103
- mutating get throws {
103
+ get throws {
104
104
guard let method = self . method else {
105
105
throw ParsingError . requestWithoutMethod
106
106
}
@@ -120,7 +120,7 @@ struct HTTPParsedFields {
120
120
}
121
121
122
122
var response : HTTPResponse {
123
- mutating get throws {
123
+ get throws {
124
124
guard let statusString = self . status? . _storage else {
125
125
throw ParsingError . responseWithoutStatus
126
126
}
@@ -136,7 +136,7 @@ struct HTTPParsedFields {
136
136
}
137
137
138
138
var trailerFields : HTTPFields {
139
- mutating get throws {
139
+ get throws {
140
140
if self . method != nil || self . scheme != nil || self . authority != nil || self . path != nil || self . extendedConnectProtocol != nil || self . status != nil {
141
141
throw ParsingError . responseWithRequestPseudo
142
142
}
You can’t perform that action at this time.
0 commit comments