Align generated Set-Cookie header with RFC 6265
Closes gh-378
This commit is contained in:
@@ -289,7 +289,7 @@ public class RestAssuredRestDocumentationIntegrationTests {
|
||||
is(snippet(asciidoctor())
|
||||
.withContents(httpResponse(asciidoctor(), HttpStatus.OK).header(
|
||||
HttpHeaders.SET_COOKIE,
|
||||
"name=value;domain=localhost;HttpOnly"))));
|
||||
"name=value; Domain=localhost; HttpOnly"))));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -288,7 +288,7 @@ public class RestAssuredRestDocumentationIntegrationTests {
|
||||
is(snippet(asciidoctor())
|
||||
.withContents(httpResponse(asciidoctor(), HttpStatus.OK).header(
|
||||
HttpHeaders.SET_COOKIE,
|
||||
"name=value;domain=localhost;HttpOnly"))));
|
||||
"name=value; Domain=localhost; HttpOnly"))));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user