Skip to content

Commit 4dcd9dd

Browse files
[[ Bug 15924 ]] Add docs for HTML5 URL syntax.
1 parent a105afc commit 4dcd9dd

27 files changed

Lines changed: 66 additions & 72 deletions

docs/dictionary/command/delete-URL.lcdoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Associations: internet library
1414

1515
Introduced: 1.1
1616

17-
OS: mac, windows, linux, ios, android
17+
OS: mac, windows, linux, ios, android, html5
1818

1919
Platforms: desktop, server, mobile
2020

@@ -85,6 +85,14 @@ password to use the <delete URL> <command>.
8585
> <standalone application>. If included, the <Internet library>
8686
> implementation will be used instead of the engine implementation.
8787

88+
> *Cross-platform note:* The HTML5 engine only supports HTTP and HTTPs
89+
> protocols.
90+
91+
> *Cross-platform note:* URLs fetched by the HTML5 engine from a domain
92+
> other than that of the hosting the page may be blocked by web browsers,
93+
> unless the server hosting the URL sets the "Access-Control-Origin" header
94+
> appropriately.
95+
8896
References: libURLSetFTPStopTime (command), post (command),
8997
delete file (command), delete folder (command),
9098
function (control structure), result (function),

docs/dictionary/command/libURLDownloadToFile.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Associations: internet library
1212

1313
Introduced: 2.0
1414

15-
OS: mac, windows, linux, ios, android
15+
OS: mac, windows, linux, ios, android, html5
1616

1717
Platforms: desktop, server, mobile
1818

docs/dictionary/command/libURLFollowHttpRedirects.lcdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ redirects and GET the page that it is redirected to.
1010

1111
Introduced: 1.1.1
1212

13-
OS: mac, windows, linux
13+
OS: mac, windows, linux,html5
1414

1515
Platforms: desktop, server
1616

@@ -33,6 +33,8 @@ Description:
3333
attempted to GET 301 and 302 redirects whatever the original request
3434
method, but didn't handle other responses.)
3535

36+
> *Cross-platform note:* The HTML5 engine will always follow redirects.
37+
3638
References: libURLDownloadToFile (command),
3739
libURLLastHTTPHeaders (function)
3840

docs/dictionary/command/libURLSetCustomHTTPHeaders.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Associations: internet library
1111

1212
Introduced: 1.1.1
1313

14-
OS: mac, windows, linux
14+
OS: mac, windows, linux, html5
1515

1616
Platforms: desktop, server
1717

docs/dictionary/command/libURLSetLogField.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Associations: internet library
1313

1414
Introduced: 1.1.1
1515

16-
OS: mac, windows, linux
16+
OS: mac, windows, linux, html5
1717

1818
Platforms: desktop, server
1919

docs/dictionary/command/libURLSetStatusCallback.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Associations: internet library
1212

1313
Introduced: 2.0
1414

15-
OS: mac, windows, linux
15+
OS: mac, windows, linux, html5
1616

1717
Platforms: desktop, server
1818

docs/dictionary/command/libUrlSetDriver.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Associations: internet library
1212

1313
Introduced: 8.1
1414

15-
OS: mac, windows, linux, ios, android
15+
OS: mac, windows, linux, ios, android, html5
1616

1717
Platforms: desktop, server, mobile
1818

docs/dictionary/command/libUrlSetSSLVerification.lcdoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ connection is accepted.
4444
> <standalone application>. If included, the <Internet library>
4545
> implementation will be used instead of the engine implementation.
4646

47+
> *Cross-platform note:* The HTML5 engine will always verify server
48+
> credentials.
49+
4750
References: main stack (glossary), handler (glossary),
4851
Standalone Application Settings (glossary), message (glossary),
4952
group (glossary), standalone application (glossary), keyword (glossary),

docs/dictionary/command/load.lcdoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,19 @@ remove it from the <cache>.
9393
> included, the <Internet library> implementation will be used instead of
9494
> the engine implementation.
9595

96-
> *Note:* The current HTML5 support for 'load url' is experimental, and
97-
> will be replaced by a libUrl-like API in a subsequent DP ensuring it has
98-
> parity with other platforms when 'Internet Library' is used.
99-
10096
> *Note:* When specifying URLs for iOS or Android, you must use the
10197
> appropriate form that conforms to [RFC
10298
> 1738](https://tools.ietf.org/html/rfc1738). Ensure that you
10399
> <URLEncode> any username and password fields appropriately for FTP
104100
> URLs.
105101

106-
> *Note:* The HTML5 engine only supports HTTP and HTTPs protocols.
107-
> Also, only URLs from the domain hosting the web page running the HTML5
108-
> engine can be fetched.
102+
> *Cross-platform note:* The HTML5 engine only supports HTTP and HTTPs
103+
> protocols.
104+
105+
> *Cross-platform note:* URLs fetched by the HTML5 engine from a domain
106+
> other than that of the hosting the page may be blocked by web browsers,
107+
> unless the server hosting the URL sets the "Access-Control-Origin" header
108+
> appropriately.
109109

110110
References: unload (command), libURLftpUpload (command),
111111
libURLDownloadToFile (command), get (command), load (command),

docs/dictionary/command/post.lcdoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Associations: internet library
1111

1212
Introduced: 1.0
1313

14-
OS: mac, windows, linux, ios, android
14+
OS: mac, windows, linux, ios, android, html5
1515

1616
Platforms: desktop, server, mobile
1717

@@ -105,6 +105,14 @@ password "pass", use the following <statement> :
105105
> <URLEncode> any username and password fields appropriately for FTP
106106
> URLs.
107107

108+
> *Cross-platform note:* The HTML5 engine only supports HTTP and HTTPs
109+
> protocols.
110+
111+
> *Cross-platform note:* URLs fetched by the HTML5 engine from a domain
112+
> other than that of the hosting the page may be blocked by web browsers,
113+
> unless the server hosting the URL sets the "Access-Control-Origin" header
114+
> appropriately.
115+
108116
References: post (command), write to socket (command),
109117
delete URL (command), read from socket (command), put (command),
110118
libURLSetExpect100 (command), libURLSetLogField (command),

0 commit comments

Comments
 (0)