Skip to content

Commit 1b741e4

Browse files
committed
format
1 parent 4125ff4 commit 1b741e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/AsyncHTTPClient/HTTPHandler.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,8 @@ public final class ResponseAccumulator: HTTPClientResponseDelegate {
596596
if self.requestMethod != .HEAD,
597597
let contentLength = head.headers.first(name: "Content-Length"),
598598
let announcedBodySize = Int(contentLength),
599-
announcedBodySize > self.maxBodySize {
599+
announcedBodySize > self.maxBodySize
600+
{
600601
responseTooBig = true
601602
} else {
602603
responseTooBig = false

0 commit comments

Comments
 (0)