Sha256: 5ee3416c8570a394ef0118d36aad0517079ed1ed7450231e4501797dd073bfb1
Contents?: true
Size: 444 Bytes
Versions: 35
Compression:
Stored size: 444 Bytes
Contents
require 'sinatra' require 'sinatra/contrib' get '/' do response.set_cookie( "cookie", { value: "value", httponly: false }) response.set_cookie( "cookie2", { value: "value2", httponly: false }) response.set_cookie( "cookie3", { value: "value3", httponly: true }) response.set_cookie( "cookie4", { value: "value4", httponly: true }) end
Version data entries
35 entries across 35 versions & 1 rubygems