if (location == null) {
throw new NullPointerException("location must not be null");
}
LOG.debug("bind");
try (Connection conn = session.provider().connect()) {
<BUG>int rc = conn.sendRequest(location, session);
if (rc != HttpURLConnection.HTTP_ACCEPTED) {
conn.throwAcmeException();
}</BUG>
Map<String, Object> json = conn.readJsonResponse();

if (location == null) {
throw new NullPointerException("location must not be null");
}
LOG.debug("bind");
try (Connection conn = session.provider().connect()) {
conn.sendRequest(location, session);
conn.accept(HttpURLConnection.HTTP_OK, HttpURLConnection.HTTP_ACCEPTED);
Map<String, Object> json = conn.readJsonResponse();
