per page, with , order by , clip by
Results of 1 - 10 of about 11 for HTTPServer (0.006 sec.)
http.server --- HTTP サーバー — Python 3.14.8 ドキュメント 12625
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.server --- HTTP サーバー テーマ 自動 ライト ダーク | http.server --- HTTP サーバー ¶ ソー ... このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 クラス HTTPServer は socketserver.TCPServer のサブクラスです。 HTTPServer は HTTP ソケットを生成してリクエスト待ち (listen) を行い、リクエス ... トをハンドラに渡します。 サーバを作成して動作させるためのコードは以下のようになります: def run ( server_class = HTTPServer , handler_class = BaseHTTPRequestHandler ): server_address = ( '' , 8000 ) httpd = server_class ( server_address , handler ... _class ) httpd . serve_forever () class http.server. HTTPServer ( server_address , RequestHandlerClass ) ¶ This class builds on the TCPServer class by storing the server address as insta ...
https://man.mtool.work/python/3.14/library/http.server.html
http.server --- HTTP サーバー — Python 3.14.8 ドキュメント 12625
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » http.server --- HTTP サーバー テーマ 自動 ライト ダーク | http.server --- HTTP サーバー ¶ ソー ... このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、 WebAssembly プラットフォーム を見てください。 クラス HTTPServer は socketserver.TCPServer のサブクラスです。 HTTPServer は HTTP ソケットを生成してリクエスト待ち (listen) を行い、リクエス ... トをハンドラに渡します。 サーバを作成して動作させるためのコードは以下のようになります: def run ( server_class = HTTPServer , handler_class = BaseHTTPRequestHandler ): server_address = ( '' , 8000 ) httpd = server_class ( server_address , handler ... _class ) httpd . serve_forever () class http.server. HTTPServer ( server_address , RequestHandlerClass ) ¶ This class builds on the TCPServer class by storing the server address as insta ...
https://man.mtool.work/python/3.14/library/http.server.html
signal --- 非同期イベントにハンドラーを設定する — Python 3.14.8 ドキュメント 8321
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » signal --- 非同期イベントにハンドラーを設定する テーマ 自動 ライト ダーク | signal --- 非同期イベ ... t as a means of gracefully shutting down. Instead, they should install their own SIGINT handler. Below is an example of an HTTP server that avoids KeyboardInterrupt : import signal import socket from selectors import DefaultSelector , EVENT_READ from http. ... server import HTTPServer , SimpleHTTPRequestHandler interrupt_read , interrupt_write = socket . socketpair () def handler ( signum , frame ): print ... pt_read . recv ( 1 ) return if key . fileobj == httpd : httpd . handle_request () print ( "Serving on port 8000" ) httpd = HTTPServer (( '' , 8000 ), SimpleHTTPRequestHandler ) serve_forever ( httpd ) print ( "Shutdown..." ) 関連キーワード signal シグナル ...
https://man.mtool.work/python/3.14/library/signal.html
signal --- 非同期イベントにハンドラーを設定する — Python 3.14.8 ドキュメント 8321
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » signal --- 非同期イベントにハンドラーを設定する テーマ 自動 ライト ダーク | signal --- 非同期イベ ... t as a means of gracefully shutting down. Instead, they should install their own SIGINT handler. Below is an example of an HTTP server that avoids KeyboardInterrupt : import signal import socket from selectors import DefaultSelector , EVENT_READ from http. ... server import HTTPServer , SimpleHTTPRequestHandler interrupt_read , interrupt_write = socket . socketpair () def handler ( signum , frame ): print ... pt_read . recv ( 1 ) return if key . fileobj == httpd : httpd . handle_request () print ( "Serving on port 8000" ) httpd = HTTPServer (( '' , 8000 ), SimpleHTTPRequestHandler ) serve_forever ( httpd ) print ( "Shutdown..." ) 関連キーワード signal シグナル ...
https://man.mtool.work/python/3.14/library/signal.html
索引 — Python 3.14.8 ドキュメント 8144
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – H halfdelay() (curses モジュール) Handle (asyncio のクラス) handle() (http.server.BaseHTTPRequestHandler のメソッド) (logging.Handler ... .client モジュール) https_response() (urllib.request.HTTPErrorProcessor のメソッド) HTTPSConnection (http.client のクラス) HTTPServer (http.server のクラス) HTTPSHandler (urllib.request のクラス) HTTPSServer (http.server のクラス) HTTPStatus (http のクラス ...
https://man.mtool.work/python/3.14/genindex-H.html
索引 — Python 3.14.8 ドキュメント 8144
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ ... ソッド) server_close() (socketserver.BaseServer のメソッド) server_hostname (ssl.SSLSocket の属性) server_name (http.server.HTTPServer の属性) server_port (http.server.HTTPServer の属性) server_side (ssl.SSLSocket の属性) server_software (wsgiref.handlers.B ...
https://man.mtool.work/python/3.14/genindex-S.html
索引 — Python 3.14.8 ドキュメント 8144
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – H halfdelay() (curses モジュール) Handle (asyncio のクラス) handle() (http.server.BaseHTTPRequestHandler のメソッド) (logging.Handler ... .client モジュール) https_response() (urllib.request.HTTPErrorProcessor のメソッド) HTTPSConnection (http.client のクラス) HTTPServer (http.server のクラス) HTTPSHandler (urllib.request のクラス) HTTPSServer (http.server のクラス) HTTPStatus (http のクラス ...
https://man.mtool.work/python/3.14/genindex-H.html
索引 — Python 3.14.8 ドキュメント 8144
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – S S (re モジュール) (tkinter モジュール) S_ENFMT (stat モジュール) S_IEXEC (stat モジュール) S_IFBLK (stat モジュール) S_IFCHR (stat モ ... ソッド) server_close() (socketserver.BaseServer のメソッド) server_hostname (ssl.SSLSocket の属性) server_name (http.server.HTTPServer の属性) server_port (http.server.HTTPServer の属性) server_side (ssl.SSLSocket の属性) server_software (wsgiref.handlers.B ...
https://man.mtool.work/python/3.14/genindex-S.html
wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 7788
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI ... ities for manipulating WSGI environment variables and response headers, base classes for implementing WSGI servers, a demo HTTP server that serves WSGI applications, types for static type checking, and a validation tool that checks WSGI servers and applica ... ment ; filename = "bud.gif" バージョン 3.5 で変更: headers 引数が任意になりました。 wsgiref.simple_server -- a simple WSGI HTTP server ¶ このモジュールは WSGI アプリケーションを提供するシンプルな HTTP サーバです ( http.server がベースです)。個々のサーバイン ... 。 make_server() が細かい調整をやってくれるので、通常はこのコンストラクタを呼ぶ必要はありません。 WSGIServer は http.server.HTTPServer のサブクラスなので、そのすべてのメソッド ( serve_forever() や handle_request() のような) が利用できます。 WSGIServer も以下 ...
https://man.mtool.work/python/3.14/library/wsgiref.html
wsgiref --- WSGI ユーティリティとリファレンス実装 — Python 3.14.8 ドキュメント 7788
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » wsgiref --- WSGI ユーティリティとリファレンス実装 テーマ 自動 ライト ダーク | wsgiref --- WSGI ... ities for manipulating WSGI environment variables and response headers, base classes for implementing WSGI servers, a demo HTTP server that serves WSGI applications, types for static type checking, and a validation tool that checks WSGI servers and applica ... ment ; filename = "bud.gif" バージョン 3.5 で変更: headers 引数が任意になりました。 wsgiref.simple_server -- a simple WSGI HTTP server ¶ このモジュールは WSGI アプリケーションを提供するシンプルな HTTP サーバです ( http.server がベースです)。個々のサーバイン ... 。 make_server() が細かい調整をやってくれるので、通常はこのコンストラクタを呼ぶ必要はありません。 WSGIServer は http.server.HTTPServer のサブクラスなので、そのすべてのメソッド ( serve_forever() や handle_request() のような) が利用できます。 WSGIServer も以下 ...
https://man.mtool.work/python/3.14/library/wsgiref.html
PREV 1 2 NEXT