module ActionDispatch::RequestCookieMethods

def cookie_jar

def cookie_jar
  fetch_header("action_dispatch.cookies") do
    self.cookie_jar = Cookies::CookieJar.build(self, cookies)
  end
end