Skip to content

Commit 409a4d8

Browse files
authored
Merge pull request #114 from openzim/content_header_length
Set custom default value for content-header-bytes-length
2 parents fdcec2b + d015a24 commit 409a4d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/zimitfrontend/routes/requests.py

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def create_task(request: TaskCreateRequest) -> TaskCreateResponse:
6767
flags["name"] = flags.get("name", schedule_name)
6868
flags["zim-file"] = flags.get("zim-file", url.hostname) + f"_{ident}.zim"
6969
flags["userAgentSuffix"] = "zimit.kiwix.org+"
70+
flags["content-header-bytes-length"] = 2048
7071

7172
# remove flags we don't want to overwrite
7273
for flag in ("adminEmail", "output", "statsFilename"):

0 commit comments

Comments
 (0)