diff --git a/app.rb b/app.rb index 482ecd8..98209e1 100644 --- a/app.rb +++ b/app.rb @@ -347,3 +347,11 @@ get "/_cat/env" do end end end + +get '/_cat/cookies' do + stream do |out| + cookies.each do |k, v| + out << "#{k}=#{v}\n" + end + end +end