cgi/http_to_yaml.rb in tap-http-0.0.1 vs cgi/http_to_yaml.rb in tap-http-0.1.0
- old
+ new
@@ -86,17 +86,17 @@
#
# format output
#
- help = cgi.a(Tap::Http::Helpers::HELP_URL) { "help" }
- how_to_get_cookies = cgi.a(Tap::Http::Helpers::COOKIES_HELP_URL) { "how to get cookies" }
+ # help = cgi.a(Tap::Http::Helpers::HELP_URL) { "help" }
+ # how_to_get_cookies = cgi.a(Tap::Http::Helpers::COOKIES_HELP_URL) { "how to get cookies" }
+ #
+ # If you need cookies, see #{how_to_get_cookies} or the #{help}.
cgi.out('text/plain') do
%Q{# Copy and paste into a configuration file. Multiple configs
# can be added to a single file to perform batch submission.
-#
-# If you need cookies, see #{how_to_get_cookies} or the #{help}.
- #{config.to_yaml[5..-1].gsub(/\n/, "\n ")}
}
end
rescue
\ No newline at end of file