Skip to content

Commit

Permalink
Fixed an issue where HTTP/2 connections would disconnect if response …
Browse files Browse the repository at this point in the history
…compression were used and a 304 Not Modified response was returned
  • Loading branch information
dimitribouniol committed Jun 10, 2024
1 parent 9428f62 commit 6602fd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/NIOHTTP1/HTTPTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,7 @@ public enum HTTPResponseStatus: Sendable {
.switchingProtocols,
.processing,
.noContent,
.notModified,
.custom where (code < 200) && (code >= 100):
return false
default:
Expand Down

0 comments on commit 6602fd1

Please sign in to comment.