From da1376143a9dd91d98330467633667f3d42c0a33 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Wed, 2 Sep 2009 01:14:07 +0300 Subject: [PATCH] core: Add disclaimer for some ugly-looking code --- src/rygel/rygel-http-request-handler.vala | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.7.4