[rygel] core: Use the transfer mode header constant
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Use the transfer mode header constant
- Date: Mon, 11 Apr 2011 21:31:12 +0000 (UTC)
commit 00f669bb046fc778f22f969ebeb6f0cff30094a7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Apr 12 00:30:17 2011 +0300
core: Use the transfer mode header constant
src/rygel/rygel-http-get-handler.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-get-handler.vala b/src/rygel/rygel-http-get-handler.vala
index 503c0a6..b77c5dd 100644
--- a/src/rygel/rygel-http-get-handler.vala
+++ b/src/rygel/rygel-http-get-handler.vala
@@ -40,7 +40,7 @@ internal abstract class Rygel.HTTPGetHandler: GLib.Object {
// FIXME: Is it OK to just copy the value of this header from
// request to response? All we do to entertain this header is to
// set the priority of IO operations.
- request.msg.response_headers.append ("transferMode.dlna.org", mode);
+ request.msg.response_headers.append (TRANSFER_MODE_HEADER, mode);
}
// Yes, I know this is not the ideal code to just get a specific
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]