-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the case where content-length header is missing in the response
Fix #592 How to reproduce the "missing content-length" case: - Upload a relative big file to seafile server (larger than 300K is enough) - Add 'gzip_types *' in nginx config In such a setup, nginx would be forced to use chunked transfer-encoding because when gzipped is enabled it can't know the exact response size at the moment it sends the response header.
- Loading branch information
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters