title: Spring: Unable to set SameSite cookie to None
body: <p>I'm unable to set SameSite cookie value to None. </p>
  
  <p>Following is how i'm generating ResponseCookie object.  </p>
  
  <pre><code>ResponseCookie cookie = ResponseCookie.from("Hb", cookieUserId)
              .maxAge(!isEmpty(cookieUserId) ? MAX_COOKIE_DURATION : 0)
              .domain("test.com")
              .sameSite("None")
              .secure(true)
              .path("/")
              .build();
   response.addCookie(cookie)
  </code></pre>
  
  <p>Curl request to endpoint</p>
  
  <pre><code>curl -X POST "localhost:8080/v1/user/v" --data "{}" -v -H 'Content-Type: application/json'
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>&lt; set-cookie: Hb=00b7be31-fc6d-4891-a07c-46b5ef2b423c; Max-Age=7776000; Expires=Fri, 8 Nov 2019 17:23:52 GMT; Path=/; Domain=test.com; Secure
  </code></pre>
  
  <p>As you can see SameSite attribute is missing from the cookie. </p>
  
  <p>Spring Boot (version: 2.1.3.RELEASE) dependency </p>
  
  <pre><code>        &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-webflux&lt;/artifactId&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-starter-logging&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt;
      &lt;/dependency&gt;
  </code></pre>