From: Kevin Anderson <77035713+2601677867@users.noreply.github.com>
Date: Mon, 22 Nov 2021 12:22:45 +0000 (+0800)
Subject: readmes/README.scn.md (#1946)
X-Git-Tag: 0.21.2~15
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e232226d77b5faecc64cc618687b4d52d24ab1db;p=thirdparty%2Fhttpx.git
readmes/README.scn.md (#1946)
* Create README_chinese.md
* Update README_chinese.md
* Update README_chinese.md
* Update README_chinese.md
* Update README_chinese.md
---
diff --git a/README_chinese.md b/README_chinese.md
new file mode 100644
index 00000000..0daa78c6
--- /dev/null
+++ b/README_chinese.md
@@ -0,0 +1,146 @@
+
+
+
+
+HTTPX - éç¨äºPythonçæ¬¡ä¸ä»£HTTP客æ·ç«¯
+
+
+
+
+
+
+
+
+
+
+HTTPXæ¯ä¸ä¸ªåè½é½å
¨çHTTP客æ·ç«¯python3åº. å®éæäº **ä¸ä¸ªå½ä»¤è¡å®¢æ·ç«¯**, æ¯æ **HTTP/1.1 å HTTP/2**, è䏿ä¾äº **忥å弿¥API**.
+
+**注æï¼**: *0.21çæ¬å
æ¬å¯¹éæå½ä»¤è¡çä¸äºæ¹è¿ãææ°çæ¬ä¸éæ°è®¾è®¡ç `httpæ ¸å¿`. é½åºè¯¥èªå¨æ´æ°å°æéççæ¬ï¼å¦ææ¨éå°ä»»ä½é®é¢ï¼é£ä¹æ¨åºè¯¥ç¡®ä¿æ¨å®è£
ççæ¬ä¸º `httpx0.21.*` ä¸ `httpcore0.14.*` . 请åè [the CHANGELOG](https://github.com/encode/httpx/blob/master/CHANGELOG.md) æ¥è·å¾æ´å¤ç»è.*
+
+---
+
+éè¿pipå®è£
httpx:
+
+```shell
+$ pip install httpx
+```
+
+使ç¨httpx:
+
+```pycon
+>>> import httpx
+>>> r = httpx.get('https://www.example.org/')
+>>> r
+
+>>> r.status_code
+200
+>>> r.headers['content-type']
+'text/html; charset=UTF-8'
+>>> r.text
+'\n\n\nExample Domain...'
+```
+
+æè
使ç¨å½ä»¤è¡å®¢æ·ç«¯.
+
+```shell
+$ pip install 'httpx[cli]' # åªå®è£
éæçå½ä»¤è¡åè½
+```
+
+å®ç°å¨å
许æä»¬ç´æ¥ä»å½ä»¤è¡ä½¿ç¨HTTPX
+
+
+
+
+
+åéä¸ä¸ªè¯·æ±...
+
+
+
+
+
+## ç¹æ§
+
+HTTPXå°å¹¶ä¸ºæ¨æä¾ä»¥ä¸åè½:
+
+* 广æ³ç [requests-compatible API](https://www.python-httpx.org/compatibility/).
+* å
ç½®çå½ä»¤è¡å®¢æ·ç«¯åè½.
+* HTTP/1.1 [å HTTP/2 æ¯æ](https://www.python-httpx.org/http2/).
+* æ å忥æ¥å£ï¼ä¹æ¯æ [弿¥](https://www.python-httpx.org/async/).
+* è½å¤ç´æ¥å [WSGI åºç¨åé请æ±](https://www.python-httpx.org/advanced/#calling-into-python-web-apps) æå [ASGI åºç¨åé请æ±](https://www.python-httpx.org/async/#calling-into-python-web-apps).
+* å¨ä»»ä½å°æ¹è®¾ç½®è¯¦ç»çtimeout.
+* å
¨ç±»å注é.
+* å
¨é¨ä»£ç åéè¿æµè¯.
+
+å ä¸è¿äºåºè¯¥å
·å¤çæ ååè½
+
+* ååä¸URL
+* ä¿ææ´»å¨ç¶æ
+* å
·æCookieæä¹
æ§çä¼è¯
+* æµè§å¨é£æ ¼çSSLéªè¯
+* 身份éªè¯
+* Elegant Key/Value Cookies
+* èªå¨è§£å缩
+* å
容èªå¨è§£ç
+* Unicode Response Bodies
+* åæ®µæä»¶ä¸ä¼
+* æ¯æHTTP(S) 代ç
+* æ¯æè®¾å®timeout
+* æµå¼ä¸è½½
+* æ¯æ .netrc
+* æ¥æ¶Chunkedç¼ç
+
+## å®è£
+
+使ç¨pipå®è£
:
+
+```shell
+$ pip install httpx
+```
+
+å®è£
HTTP/2æ¯æ:
+
+```shell
+$ pip install httpx[http2]
+```
+
+HTTPX è¦æ± Python 3.6çæ¬ææ´é«.
+
+## ææ¡£
+
+é¡¹ç®ææ¡£ç°å·²å°±ç»ªï¼è¯·è®¿é® [https://www.python-httpx.org/](https://www.python-httpx.org/) æ¥é
读ï¼
+
+æ³å¦ä¹ åºç¡ç¥è¯ï¼è¯·è®¿é® [å¿«éå¼å§](https://www.python-httpx.org/quickstart/).
+
+æ³è·å¾è¿é¶å¸®å©ï¼ è¯·è®¿é® [Advanced Usage](https://www.python-httpx.org/advanced/) æ¥è·å¾çæ¡, ä¸å¦¨æ¥çç [弿¥æ¯æ](https://www.python-httpx.org/async/) æè
[HTTP/2](https://www.python-httpx.org/http2/)
+
+[Developer Interface](https://www.python-httpx.org/api/) æä¾äºå
¨é¢çAPIåèã
+
+è¦äºè§£ä¸HTTPXéæçå·¥å
·, è¯·è®¿é® [ç¬¬ä¸æ¹å
](https://www.python-httpx.org/third_party_packages/).
+
+## è´¡ç®
+
+å¦ææ¨æ³å¯¹æ¬é¡¹ç®ååºè´¡ç®ï¼è¯·è®¿é® [è´¡ç®è
æå](https://www.python-httpx.org/contributing/) æ¥äºè§£æ³¨æäºé¡¹
+
+## ä¾èµ
+
+HTTPX项ç®ä¾èµäºè¿äºä¼ç§çåº:
+
+* `httpcore` - The underlying transport implementation for `httpx`.
+ * `h11` - HTTP/1.1 support.
+ * `h2` - HTTP/2 support. *(Optional, with `httpx[http2]`)*
+* `certifi` - SSL certificates.
+* `charset_normalizer` - Charset auto-detection.
+* `rfc3986` - URL parsing & normalization.
+ * `idna` - Internationalized domain name support.
+* `sniffio` - Async library autodetection.
+* `rich` - Rich terminal support. *(Optional, with `httpx[cli]`)*
+* `click` - Command line client support. *(Optional, with `httpx[cli]`)*
+* `brotli` or `brotlicffi` - Decoding for "brotli" compressed responses. *(Optional, with `httpx[brotli]`)*
+* `async_generator` - Backport support for `contextlib.asynccontextmanager`. *(Only required for Python 3.6)*
+
+A huge amount of credit is due to `requests` for the API layout that
+much of this work follows, as well as to `urllib3` for plenty of design
+inspiration around the lower-level networking details.
+
+— âï¸ —
+HTTPX 代ç ä½¿ç¨ BSD 弿ºåè®®. å¨è±å½å¸è±é¡¿è®¾è®¡åæå»ºã