code: func (s *sessionsResponseWriter) WriteHeader(code int) {
  	s.wroteHeader = true
  
  	// Set all the cookies in the cookie buffer
  	if !s.wroteCookies {
  		s.wroteCookies = true
  		for _, c := range s.cookies {
  			http.SetCookie(s.ResponseWriter, c)
  		}
  	}
  
  	s.ResponseWriter.WriteHeader(code)
  }
docs: // WriteHeader sets all cookies in the buffer on the underlying ResponseWriter's
  // headers and calls the underlying ResponseWriter WriteHeader func