Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2774:7255a5468474
Documented HTTPS support for ngx_fetch.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 14 Oct 2021 18:53:16 +0100 |
parents | ff357b676c2e |
children | 9ce9239c6b7b |
comparison
equal
deleted
inserted
replaced
2773:a2852750c379 | 2774:7255a5468474 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Reference" | 9 <article name="Reference" |
10 link="/en/docs/njs/reference.html" | 10 link="/en/docs/njs/reference.html" |
11 lang="en" | 11 lang="en" |
12 rev="74"> | 12 rev="75"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <link doc="index.xml">njs</link> provides objects, methods and properties | 17 <link doc="index.xml">njs</link> provides objects, methods and properties |
823 <tag-desc> | 823 <tag-desc> |
824 Makes a request to fetch an URL | 824 Makes a request to fetch an URL |
825 (<link doc="changes.xml" id="njs0.5.1">0.5.1</link>), | 825 (<link doc="changes.xml" id="njs0.5.1">0.5.1</link>), |
826 returns a <literal>Promise</literal> that resolves with | 826 returns a <literal>Promise</literal> that resolves with |
827 the <link id="response"><literal>Response</literal></link> object. | 827 the <link id="response"><literal>Response</literal></link> object. |
828 Only the <literal>http://</literal> scheme is supported, | 828 Since <link doc="changes.xml" id="njs0.7.0">0.7.0</link>, |
829 the <literal>https://</literal> scheme is supported, | |
829 redirects are not handled. | 830 redirects are not handled. |
830 <para> | 831 <para> |
831 The <literal>options</literal> parameter is expected to be an object | 832 The <literal>options</literal> parameter is expected to be an object |
832 with the following keys: | 833 with the following keys: |
833 <list type="tag"> | 834 <list type="tag"> |