You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/06/27 22:49:19 UTC

svn commit: r202060 - /gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py

Author: leosimons
Date: Mon Jun 27 13:49:19 2005
New Revision: 202060

URL: http://svn.apache.org/viewcvs?rev=202060&view=rev
Log:
Oh, and that was the point. Didn't get to actually doing it.

Modified:
    gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py

Modified: gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py?rev=202060&r1=202059&r2=202060&view=diff
==============================================================================
--- gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py (original)
+++ gump/branches/Gump3/webgump/lib/python/webgump/controllers/doc.py Mon Jun 27 13:49:19 2005
@@ -37,10 +37,11 @@
     try:
         try:
             lastmodified = os.path.getmtime(pagepath)
-            #req.headers_out['Last-Modified'] = formatdate(lastmodified)
             req.mtime = lastmodified
-            #req.headers_out['X-Webgump'] = 'Test'
             req.content_type = "text/html"
+            
+            #TODO: implement fancy templating, xml transformation, and other other
+            # stuff here. Maybe even interface with cocoon :-). Hahahah.
         
             f = open(pagepath, mode='r')
             for line in f: