def cookie_jar
      return @cookie_jar if defined?(@cookie_jar) && @cookie_jar

      jar = @request.cookie_jar.dup
      headers.fetch(:set_cookie, []).each do |cookie|
        jar.parse(cookie, @request.uri)
      end

      @cookie_jar = jar
    end
def cookie_jar
      return @cookie_jar if defined?(@cookie_jar) && @cookie_jar

      jar = @request.cookie_jar.dup
      headers.fetch(:set_cookie, []).each do |cookie|
        jar.parse(cookie, @request.uri)
      end

      @cookie_jar = jar
    end
def cookie_jar return @cookie_jar if defined? ( @cookie_jar ) && @cookie_jar jar = @request . cookie_jar . dup headers . fetch ( :set_cookie , [ ] ) . each do | cookie | jar . parse ( cookie , @request . uri ) end @cookie_jar = jar end
Cookie jar extracted from response headers.

 @return [HTTP::CookieJar]
Cookie jar extracted from response headers .