Skip to content

Commit 8fd01bf

Browse files
committed
document reference updates
1 parent 9dbcd92 commit 8fd01bf

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/main/java/net/apnic/rdap/conformance/Application.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public final class Application {
4747
"entity", "domain");
4848

4949
private static final Result EXTRA_QUERY_PARAM =
50-
getDocRefProto("draft-ietf-weirds-using-http-15", "4.3",
50+
getDocRefProto("rfc7480", "4.3",
5151
"common.extra-query-parameter");
5252

5353
private static final TrustManager[] TRUST_MANAGER =
@@ -556,7 +556,7 @@ public static void main(final String[] args) throws Exception {
556556
if (s.getAcceptContentType() != null) {
557557
Result ctres = new Result();
558558
ctres.setTestName("common.rdap-specific-content-type");
559-
ctres.setDocument("draft-ietf-weirds-using-http-15");
559+
ctres.setDocument("rfc7480");
560560
ctres.setReference("4.1");
561561
ctres.setStatus(Result.Status.Failure);
562562
ctres.setInfo("not supported by server in accept header");
@@ -587,7 +587,7 @@ public static void main(final String[] args) throws Exception {
587587
* as the request is 'successful', it's fine. */
588588
Result ctres = new Result();
589589
ctres.setTestName("common.application-json");
590-
ctres.setDocument("draft-ietf-weirds-using-http-15");
590+
ctres.setDocument("rfc7480");
591591
ctres.setReference("4.2");
592592
final Test test =
593593
new BasicRequest(

src/main/java/net/apnic/rdap/conformance/responsetest/AccessControl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public boolean run(final Context context, final Result proto,
2929

3030
Result nr = new Result(proto);
3131
nr.setCode("access-control-allow-origin");
32-
nr.setDocument("draft-ietf-weirds-using-http-15");
32+
nr.setDocument("rfc7480");
3333
nr.setReference("5.6");
3434

3535
Header cth = hr.getFirstHeader("Access-Control-Allow-Origin");

src/main/java/net/apnic/rdap/conformance/responsetest/ContentType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public boolean run(final Context context, final Result proto,
2929

3030
Result nr = new Result(proto);
3131
nr.setCode("content-type");
32-
nr.setDocument("draft-ietf-weirds-using-http-15");
32+
nr.setDocument("rfc7480");
3333
nr.setReference("4.2");
3434

3535
Header cth = hr.getEntity().getContentType();

src/main/java/net/apnic/rdap/conformance/responsetest/StatusCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean run(final Context context, final Result proto,
5252
if (nr.getDocument().equals("")
5353
&& !hasMultiple
5454
&& expectedCodes.contains(HttpStatus.SC_BAD_REQUEST)) {
55-
nr.setDocument("draft-ietf-weirds-using-http-15");
55+
nr.setDocument("rfc7480");
5656
nr.setReference("5.4");
5757
}
5858

src/main/java/net/apnic/rdap/conformance/test/common/Redirect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public boolean run() {
9595
Result proto = new Result(Status.Notification, path,
9696
testName,
9797
"", "",
98-
"draft-ietf-weirds-using-http-15",
98+
"rfc7480",
9999
"5.2");
100100
if (httpResponse == null) {
101101
proto.setCode("response");

0 commit comments

Comments
 (0)