Skip to Content
Python 技術手冊 第三版
book

Python 技術手冊 第三版

by lex Martelli, Anna Martelli Ravenscroft, Steve Holden
January 2018
Intermediate to advanced
856 pages
17h 17m
Chinese
GoTop Information, Inc.
Content preview from Python 技術手冊 第三版
636
|
20 章 HTTP 網路服務
隨著基於微服務(microservices)的系統之崛起,HTTP 對分散式系統的
設計變得越來越重要,提供了一種便利的方式在行程之間傳輸經常使用的
JSON 內容。現在 Internet 上有數以千計可公開取用的 HTTP 資料 API。雖
HTTP 原理從它成形的 1990 年代中期到現在幾乎都沒有改變,不過
這幾年間它的能力已被大幅提升。要找更詳細涵蓋基礎知識的優良參考資
源,我們推薦 O
Reilly
HTTP: The Definitive Guide
WSGI
Python Web Server Gateway InterfaceWSGI
https://www.python.org/
dev/peps/pep-3333/
))是現代所有的 Python web 開發框架與底層 web 伺服
器或閘道(gateways)互動時所用的標準。WSGI 主要並不是要讓你的應
用程式直接使用的,取而代之,你會用數個較高抽象層的框架之一來編寫
你的程式,而這些框架則會使用 WSGI 來與 web 伺服器溝通。
只有在你需要實作某個 web 伺服器沒有提供的 WSGI 介面(如果有這種伺
服器存在的話),或你在建置一個新的 Python web 框架
2
時,你才需要在意
WSGI 的細節。若是如此,就研讀 WSGI PEP
https://www.python.org/
dev/peps/pep-3333/
)、標準程式庫套件
wsgiref
https://docs.python.or ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

利用 Python 进行数据分析(原书第2版)

利用 Python 进行数据分析(原书第2版)

Wes McKinney

Publisher Resources

ISBN: 9789864766819