-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit 43d6754
Remove "method", URI input with "hrefVars"
In the most recent draft, "method" simply controlled whether link
input was placed in the URI (for a value of "get") or in the request
body (for a valued of "post"). While correlating with HTML, this
was both confusing due to "get" and "post" not necessarily indicating
the HTTP methods of the same name, and limiting in that users/clients
could not submit data through both the URI and the request body
at the same time.
This introduces "hrefVars" which provides a schema for user input
matching the "href" URI Template variables. It removes "method"
and makes "schema" and "encType" unambiguously apply to the request
body in all cases.
Clients should choose when to use the request body submission based
on the rules of the protocol given by the URI scheme and the semantics
indicated by the link relation.
Additionally, the complex and apparently rarely if ever used
preprocessing rules have been removed, and both the resulting and
pre-existing limitations have been documented. They will be the
subject of work for future drafts.
The meta-schemas have been updated accordingly, and the LDO schema has
been brought over from the web site repo and updated. Improper
use of "$ref" has been fixed with "allOf".1 parent fac35a0 commit 43d6754
File tree
3 files changed
+243
-175
lines changed3 files changed
+243
-175
lines changedLines changed: 13 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | - | ||
6 | + | ||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | - | ||
51 | + | ||
52 | + | ||
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
| |||
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
83 | - | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
84 | 90 |
| |
85 | 91 |
| |
86 | 92 |
| |
| |||
92 | 98 |
| |
93 | 99 |
| |
94 | 100 |
| |
95 | - | ||
101 | + | ||
96 | 102 |
| |
97 | 103 |
| |
98 | 104 |
| |
99 | 105 |
| |
100 | 106 |
| |
101 | - | ||
102 | - | ||
103 | - | ||
104 | - | ||
105 | 107 |
| |
106 | - | ||
108 | + | ||
107 | 109 |
| |
108 | 110 |
| |
109 | 111 |
| |
110 | 112 |
| |
111 | - | ||
112 | - | ||
113 | + | ||
114 | + | ||
113 | 115 |
| |
114 | 116 |
| |
115 | 117 |
| |
|
0 commit comments