[rygel] tests: Set content-length on msg for SeekableResponse
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Set content-length on msg for SeekableResponse
- Date: Wed, 30 Mar 2011 16:18:11 +0000 (UTC)
commit 2773190c0706012268ff8cb45205da1391e707e2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Mar 30 18:11:48 2011 +0300
tests: Set content-length on msg for SeekableResponse
tests/rygel-http-seekable-response-test.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/rygel-http-seekable-response-test.vala b/tests/rygel-http-seekable-response-test.vala
index a9d9902..1e4eac9 100644
--- a/tests/rygel-http-seekable-response-test.vala
+++ b/tests/rygel-http-seekable-response-test.vala
@@ -99,6 +99,8 @@ public class Rygel.HTTPSeekableResponseTest : Rygel.HTTPResponseTest {
this.cancellable);
var handler = new HTTPGetHandler (this.cancellable);
+ msg.response_headers.set_content_length (seek.length);
+
return new HTTPSeekableResponse (request, handler);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]