@Test(groups = { "default_provider", "async" })
public void optionsTest() throws Exception {
final AsyncHttpClient client = getAsyncHttpClient(null);
try {
Response response = client.prepareOptions(getTargetUrl()).execute().get();
assertEquals(response.getStatusCode(), 200);
assertEquals(response.getHeader("Allow"), "GET,HEAD,POST,OPTIONS,TRACE");
} finally {
client.close();