File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ extension HTTPRequest {
1818 httpRequest. path = [ endpoint. path, endpoint. uri. queryString] . compactMap { $0 } . joined ( separator: " ? " )
1919 httpRequest. addHeaders ( headers: headers. toHttpHeaders ( ) )
2020 httpRequest. body = isChunked ? nil : StreamableHttpBody ( body: body) // body needs to be nil to use writeChunk()
21- httpRequest. addHeader ( name: " If-Range " , value: " ETAG " )
2221 return httpRequest
2322 }
2423
@@ -30,7 +29,6 @@ extension HTTPRequest {
3029 httpRequest. method = method. rawValue
3130 httpRequest. path = [ endpoint. path, endpoint. uri. queryString] . compactMap { $0 } . joined ( separator: " ? " )
3231 httpRequest. addHeaders ( headers: headers. toHttpHeaders ( ) )
33- httpRequest. addHeader ( name: " If-Range " , value: " ETAG " )
3432
3533 // Remove the "Transfer-Encoding" header if it exists since h2 does not support it
3634 httpRequest. removeHeader ( name: " Transfer-Encoding " )
You can’t perform that action at this time.
0 commit comments