Skip to content

Commit 532f4c2

Browse files
committed
Remove appendix on fetching and validating a TD
1 parent 611d3f4 commit 532f4c2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

index.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4280,17 +4280,6 @@

API design rationale

42804280
into consideration when designing a Scripting API for WoT.
42814281
p>
42824282
section>
4283-
<section> <h4>Fetching and validating a TDh4>
4284-
<p>
4285-
The <code>fetch(url)code> method has been part of this API in earlier versions. However, now fetching a <a>TDa> given a URL should be done with an external method, such as the <a data-cite="fetch#fetch-api">Fetch APIa> or a HTTP client library, which offer already standardized options on specifying fetch details. The reason is that while simple fetch operations (covering most use cases) could be done in this API, when various fetch options were needed, there was no point in duplicating existing work to re-expose those options in this API.
4286-
p>
4287-
<p>
4288-
Since fetching a <a>TDa> has been scoped out, and <a>TDa> validation
4289-
is defined externally in the [[[WOT-TD]]] specification, that is scoped out, too.
4290-
This specification expects a <a>TDa> as
4291-
<a data-cite="infra#parse-json-bytes-to-a-javascript-value">parsed JSON objecta> that has been validated according to the [[[WOT-TD]]] specification.
4292-
p>
4293-
section>
42944283
<section> <h4>Observersh4>
42954284
<p>
42964285
Earlier drafts used the

0 commit comments

Comments
 (0)