Skip to content

Commit c75c528

Browse files
committed
Update HTTP reference to RFC 7231
1 parent 71edd25 commit c75c528

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

jsonschema-core.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="US-ASCII"?>
22
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
33
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
4-
<!ENTITY RFC2616 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml">
54
<!ENTITY RFC3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml">
65
<!ENTITY RFC4627 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4627.xml">
76
<!ENTITY RFC5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
7+
<!ENTITY RFC7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
88
]>
99
<?rfc toc="yes"?>
1010
<?rfc symrefs="yes"?>
@@ -274,7 +274,7 @@
274274

275275
<section title="JSON Schema and HTTP">
276276
<t>
277-
This specification acknowledges the role of <xref target="RFC2616">HTTP</xref>
277+
This specification acknowledges the role of <xref target="RFC7231">HTTP</xref>
278278
as the dominant protocol in use on the Internet, and the wealth of
279279
official specifications related to it.
280280
</t>
@@ -627,13 +627,13 @@ Content-Type: application/my-media-type+json;
627627
<!-- References Section -->
628628
<references title="Normative References">
629629
&RFC2119;
630+
&RFC3986;
630631
</references>
631632

632633
<references title="Informative References">
633-
&RFC2616;
634-
&RFC3986;
635634
&RFC4627;
636635
&RFC5988;
636+
&RFC7231;
637637
<reference anchor="json-schema-validation"
638638
target="http://tools.ietf.org/html/draft-fge-json-schema-validation-01">
639639
<front>

jsonschema-hyperschema.xml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?xml version="1.0" encoding="US-ASCII"?>
22
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
3-
<!ENTITY rfc3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml">
3+
<!ENTITY rfc2045 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2045.xml">
4+
<!ENTITY rfc2046 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2046.xml">
45
<!ENTITY rfc2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
6+
<!ENTITY rfc3986 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.3986.xml">
57
<!ENTITY rfc4287 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4287.xml">
6-
<!ENTITY rfc2616 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml">
7-
<!ENTITY rfc2045 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2045.xml">
88
<!ENTITY rfc5226 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5226.xml">
9-
<!ENTITY rfc2046 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2046.xml">
10-
<!ENTITY rfc2616 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml">
11-
<!ENTITY rfc6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
129
<!ENTITY rfc5988 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5988.xml">
10+
<!ENTITY rfc6570 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6570.xml">
11+
<!ENTITY rfc7231 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7231.xml">
1312
<!ENTITY html401 SYSTEM "http://xml.resource.org/public/rfc/bibxml4/reference.W3C.REC-html401-19991224.xml">
1413
]>
1514
<?rfc toc="yes"?>
@@ -847,7 +846,7 @@ GET /foo/
847846
<section title="mediaType">
848847
<t>
849848
The value of this property is advisory only, and represents the media type <xref target="RFC2046">RFC 2046</xref>, that is expected to be returned when fetching this resource.
850-
This property value MAY be a media range instead, using the same pattern defined in <xref target="RFC2616">RFC 2161, section 14.1 - HTTP "Accept" header</xref>.
849+
This property value MAY be a media range instead, using the same pattern defined in <xref target="RFC7231">RFC 7231, section 5.3.1 - HTTP "Accept" header</xref>.
851850
</t>
852851

853852
<t>
@@ -857,7 +856,7 @@ GET /foo/
857856
</t>
858857

859858
<t>
860-
If this property's value is specified, and the link's target is to be obtained using any protocol that supports the HTTP/1.1 "Accept" header <xref target="RFC2616">RFC 2616, section 14.1</xref>, then user agents MAY use the value of this property to aid in the assembly of that header when making the request to the server.
859+
If this property's value is specified, and the link's target is to be obtained using any protocol that supports the HTTP/1.1 "Accept" header <xref target="RFC7231">RFC 7231, section 5.3.1</xref>, then user agents MAY use the value of this property to aid in the assembly of that header when making the request to the server.
861860
</t>
862861

863862
<t>
@@ -1043,10 +1042,10 @@ GET /foo/
10431042
</reference>
10441043
</references>
10451044
<references title="Informative References">
1046-
&rfc2616;
1047-
&rfc5226;
10481045
&rfc2046;
1046+
&rfc5226;
10491047
&rfc5988;
1048+
&rfc7231;
10501049
&html401;
10511050
</references>
10521051

0 commit comments

Comments
 (0)