Skip to content

Commit a411e5f

Browse files
authored
Merge pull request #674 from handrews/put-create
Acknowledge that PUT can create
2 parents 625e12c + b4dd872 commit a411e5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-hyperschema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,8 +1392,8 @@ for varname in templateData:
13921392
HTTP methods. In particular, "targetSchema" suggests what a client
13931393
application can expect for the response to an HTTP GET or any response
13941394
for which the "Content-Location" header is equal to the request URI,
1395-
and what a client application should send if it replaces the resource
1396-
in an HTTP PUT request.
1395+
and what a client application should send if it creates or replaces
1396+
the resource with an HTTP PUT request.
13971397
These correlations are defined by <xref target="RFC7231">RFC 7231,
13981398
section 4.3.1 - "GET", section 4.3.4 "PUT", and section 3.1.4.2,
13991399
"Content-Location"</xref>.

0 commit comments

Comments
 (0)