gzip icon indicating copy to clipboard operation
gzip copied to clipboard

Refactor: use global header constants instead of hardcoded strings

Open StounhandJ opened this issue 1 month ago • 0 comments

Summary

Replaced hardcoded HTTP header names ("Content-Length", "Content-Encoding", "Vary", "ETag") with predefined constants throughout the gzip middleware and tests.

Motivation

In general, this is not a functional update, but rather, I noticed that they started using global constants, but only in random parts of the code. Now everything is unified.

StounhandJ avatar Nov 12 '25 14:11 StounhandJ