diff options
author | Jens Georg <jensg@openismus.com> | 2012-11-13 15:06:17 +0100 |
---|---|---|
committer | Jens Georg <jensg@openismus.com> | 2012-11-13 15:59:06 +0100 |
commit | db698a051fcc7b077dea73248618594e3cc81371 (patch) | |
tree | 1369c17675b2aaf86cf701c8061d62b008710288 /tests | |
parent | 77bf0d9cee19b73988517a648633cb2eba3d67db (diff) | |
download | rygel-db698a051fcc7b077dea73248618594e3cc81371.tar.gz |
server: Really fix Content-Length header
6f5a29 used the wrong length for thumbnails and subtitles as well as setting
the wrong soup mode for resources whose size is not known, effectively
breaking proxying of non-local resources.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rygel-http-get-test.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rygel-http-get-test.vala b/tests/rygel-http-get-test.vala index b8ebe54f..3c93ceb4 100644 --- a/tests/rygel-http-get-test.vala +++ b/tests/rygel-http-get-test.vala @@ -360,6 +360,8 @@ internal abstract class Rygel.HTTPGetHandler { } public void add_response_headers (HTTPGet get_request) {} + + public bool knows_size (HTTPGet request) { return false; } } internal class Rygel.HTTPTranscodeHandler : Rygel.HTTPGetHandler { |