assertThat(headers.get(HttpHeaders.Names.ACCESS_CONTROL_ALLOW_METHODS), is("OPTIONS, GET"));
assertThat(headers.get(HttpHeaders.Names.ACCESS_CONTROL_ALLOW_HEADERS), is("Content-Type"));
assertThat(headers.get(HttpHeaders.Names.ACCESS_CONTROL_ALLOW_CREDENTIALS), is("true"));
assertThat(headers.get(HttpHeaders.Names.EXPIRES), is("dummy"));
assertThat(headers.get(HttpHeaders.Names.SET_COOKIE), is("JSESSIONID=dummy;path=/"));
channel.finish();
}
@Test
public void verifyChannelAttributesNotPreflightRequestDefaults() {
final FullHttpRequest httpRequest = createHttpRequest(HttpMethod.GET);