Commit Graph

5 Commits

Author SHA1 Message Date
Victor Sokolov
c6a95facbb headerwriter in processing_handler.go (#1507)
* headerwriter in processing_handler.go

* Remove not required etag tests

* ETagEnabled, LastModifiedEnabled true by default

* Changed Passthrough signature

* Removed etag package

* Merge writeDebugHeaders*
2025-08-27 15:20:10 +02:00
DarthSim
49791b03a2 Cancel request in streaming handler only if it exists 2025-08-26 20:45:30 +03:00
DarthSim
5a945984a7 Add helpers for copying HTTP headers 2025-08-26 19:27:40 +06:00
Victor Sokolov
6c9d26e8f5 IMG-54: NewDefaultConfig(), routes ordering exact/non-exact (#1504)
* NewDefaultConfig() + LoadFromEnv()

* Route order

* Changed route switch

* categoryConfig

* Use Default() in tests
2025-08-25 19:52:29 +02:00
Victor Sokolov
ec566ce1c0 IMG-53: refactor stream.go (#1503)
* stream_test.go

* StreamHandler

* stream.go replaced with handlers/stream

* Small fixes

* Separate SetMaxAge/SetForceExpires

* Fallback image TTL

* Added existing TTL check to SetIsFallbackImage

* guard clause SetIsFallbackImage

* Removed old stream.go
2025-08-25 10:25:26 +02:00