[Hiki-cvs 1508] [1055] using rack

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 9月 8日 (火) 22:32:45 JST


Revision: 1055
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=1055
Author:   okkez
Date:     2009-09-08 22:32:45 +0900 (Tue, 08 Sep 2009)

Log Message:
-----------
using rack

Modified Paths:
--------------
    hiki/branches/rack/misc/plugin/google-sitemaps.rb

Modified: hiki/branches/rack/misc/plugin/google-sitemaps.rb
===================================================================
--- hiki/branches/rack/misc/plugin/google-sitemaps.rb	2009-09-06 08:38:48 UTC (rev 1054)
+++ hiki/branches/rack/misc/plugin/google-sitemaps.rb	2009-09-08 13:32:45 UTC (rev 1055)
@@ -34,10 +34,8 @@
   header['Content-Language'] =****@conf*****
   header['Pragma']           = 'no-cache'
   header['Cache-Control']    = 'no-cache'
-  print****@cgi*****(header)
-  puts body
 
-  nil # Don't move to the 'FrontPage'
+  ::Hiki::Response.new(body, 200, header)
 end
 
 add_body_enter_proc(Proc.new do




Hiki-cvs メーリングリストの案内
アーカイブの一覧に戻る