Skip to content

Commit

Permalink
Merge pull request #11 from mrdos010/patch-4
Browse files Browse the repository at this point in the history
Update diff-content-length.java
  • Loading branch information
genuinemoses authored Dec 11, 2023
2 parents 481022a + bf76dbd commit 3559565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response-filters/diff-content-length.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Filter for responses with incorrect Content-Length.
*/

if(!requestResponse.hasResponse() || requestResponse.response().hasHeader("Content-Length")) {
if(!requestResponse.hasResponse() || !requestResponse.response().hasHeader("Content-Length")) {
return false;
}

Expand Down

0 comments on commit 3559565

Please sign in to comment.