[rygel] core: Add disclaimer for some ugly-looking code
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Add disclaimer for some ugly-looking code
- Date: Tue, 1 Sep 2009 22:40:24 +0000 (UTC)
commit da1376143a9dd91d98330467633667f3d42c0a33
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Sep 2 01:14:07 2009 +0300
core: Add disclaimer for some ugly-looking code
src/rygel/rygel-http-request-handler.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-request-handler.vala b/src/rygel/rygel-http-request-handler.vala
index d52da38..ef62017 100644
--- a/src/rygel/rygel-http-request-handler.vala
+++ b/src/rygel/rygel-http-request-handler.vala
@@ -31,6 +31,9 @@ internal abstract class Rygel.HTTPRequestHandler: GLib.Object {
// Add response headers.
public virtual void add_response_headers (HTTPRequest request)
throws HTTPRequestError {
+ // Yes, I know this is not the ideal code to just get a specific
+ // string for an HTTP header but if you think you can come-up with
+ // something better, be my guest and provide a patch.
var didl_writer = new GUPnP.DIDLLiteWriter (null);
var didl_item = didl_writer.add_item ();
var resource = this.add_resource (didl_item, request);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]