[rygel] core: Explicitly set encoding on Soup.Message
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Explicitly set encoding on Soup.Message
- Date: Wed, 30 Mar 2011 16:17:41 +0000 (UTC)
commit 92eaaac8faba9e475142f9df739f8dafaac6f582
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Mar 30 18:18:12 2011 +0300
core: Explicitly set encoding on Soup.Message
src/rygel/rygel-http-seekable-response.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-seekable-response.vala b/src/rygel/rygel-http-seekable-response.vala
index 9438272..0f65e07 100644
--- a/src/rygel/rygel-http-seekable-response.vala
+++ b/src/rygel/rygel-http-seekable-response.vala
@@ -62,6 +62,8 @@ internal class Rygel.HTTPSeekableResponse : Rygel.HTTPResponse {
base (request, request_handler, partial);
+ this.msg.response_headers.set_encoding (Soup.Encoding.CONTENT_LENGTH);
+
this.seek = request.seek;
this.total_length = (size_t) this.seek.length;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]