Add /_cat/cookies

This commit is contained in:
Ryan Cavicchioni 2024-08-11 11:13:14 -05:00
parent b174107b8a
commit b6f05b475f
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

8
app.rb
View File

@ -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