Browse Source

Pass `If-Modified-Since` header during streaming`

DarthSim 2 months ago
parent
commit
2609144cb4
2 changed files with 2 additions and 0 deletions
  1. 1 0
      CHANGELOG.md
  2. 1 0
      stream.go

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@
 ## [Unreleased]
 ### Fixed
 - Fix the `Vary` header value when `IMGPROXY_AUTO_JXL` or `IMGPROXY_ENFORCE_JXL` configs are set to `true`.
+- Fix the `If-Modified-Since` request header handling when the `raw` processing option is used.
 - (pro) Fix generating thumbnails for VP9 videos with high bit depth.
 - (pro) Fix `IMGPROXY_CUSTOM_RESPONSE_HEADERS` and `IMGPROXY_RESPONSE_HEADERS_PASSTHROUGH` configs behavior when the `raw` processing option is used.
 

+ 1 - 0
stream.go

@@ -24,6 +24,7 @@ import (
 var (
 	streamReqHeaders = []string{
 		"If-None-Match",
+		"If-Modified-Since",
 		"Accept-Encoding",
 		"Range",
 	}