Skip to content

Commit

Permalink
Fix missing none
Browse files Browse the repository at this point in the history
  • Loading branch information
glbrntt committed Feb 3, 2025
1 parent 05da74f commit 43f1e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GRPCNIOTransportCore/GRPCStreamStateMachine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ extension GRPCStreamStateMachine {
headers.add(name, forKey: .encoding)
}

for encoding in acceptedEncodings.elements {
for encoding in acceptedEncodings.elements where encoding != .none {
if let name = encoding.nameIfSupported {
headers.add(name, forKey: .acceptEncoding)
}
Expand Down

0 comments on commit 43f1e13

Please sign in to comment.