-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Content-Length response header
Motivation: The 'Content-Length' response header is expected by many clients. While it is not possible to specify the content length for on-the-fly compression, it is possible when sending an individual file. Modification: Update DataSelection to optionally return the content length. Update the 'getData' Response to include the `Content-Length` header when the request targets a single file that is not placed in a zip archive. If the content is dynamically generated (e.g., a zip file) then no `Content-Length` header is provided. Result: IDS now includes the `Content-Length` response header when this is possible Signed-off-by: Paul Millar <paul.millar@desy.de>
- Loading branch information
1 parent
1e32fb4
commit d846a4f
Showing
2 changed files
with
18 additions
and
3 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
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