per page, with , order by , clip by
Results of 1 - 10 of about 78 for headers (0.004 sec.)
リクエストとレスポンスのオブジェクト 11350
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... ヘッダー・スプーフィングが防がれます。この動作は、Nginx や Apache 2.4+ のようなウェブサーバーと一致しています。 HttpRequest.headers は CONTENT_LENGTH と CONTENT_TYPE を含む、全てのHTTPプレフィックス付きヘッダーにアクセスするより簡単な方法です。 HttpReque ... st. headers [ソース] リクエストからHTTPプリフィックスヘッダー全体 ( Content-Length と Content-Type を含む) にアクセスを提供する、大文字 ... にタイトルケース (例: User-Agent ) でスタイリズされます。ヘッダーは大文字小文字を区別せずにアクセスできます。 >>> request . headers {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6', ...)} >>> "User-Agent" in request . headers True >>> "use ...
https://man.mtool.work/django/6.1/ref/request-response.html
テストツール 10523
テストツール Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecosystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. T ... ます。 class Client ( enforce_csrf_checks = False , raise_request_exception = True , json_encoder = DjangoJSONEncoder , * , headers = None , query_params = None , ** defaults ) [ソース] テスト用の HTTP クライアントです。いくつかの引数で動作をカスタマイズ ... できます。 headers にはリクエストごとに送信されるデフォルトのヘッダを指定できます。例えば、 User-Agent ヘッダの場合: client = Client ( header ... nt ( SCRIPT_NAME = "/app/" ) 注釈 HTTP_ プレフィックスで始まるキーワード引数がヘッダーとして設定されますが、可読性のために headers パラメーターの使用を推奨します。 The values from the headers , query_params , and extra keyword arguments passed to get() ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 1.4.18 リリースノート 9972
Django 1.4.18 リリースノート January 13, 2015 Django 1.4.18 fixes several security issues in 1.4.17 as well as a regression on Python 2.5 in the 1.4.17 release. WSGI header spoofing via underscore/dash conflation When HTTP headers are place ... thus also in Django's request.META dictionary). Unfortunately, this means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This mean ... eader (with underscore) and bypass this protection. In order to prevent such attacks, both Nginx and Apache 2.4+ strip all headers containing underscores from incoming requests by default. Django's built-in development server now does the same. Django's ...
https://man.mtool.work/django/6.1/releases/1.4.18.html
Django 1.6.10 リリースノート 9972
Django 1.6.10 リリースノート January 13, 2015 Django 1.6.10 fixes several security issues in 1.6.9. WSGI header spoofing via underscore/dash conflation When HTTP headers are placed into the WSGI environ, they are normalized by converting to ... thus also in Django's request.META dictionary). Unfortunately, this means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This mean ... eader (with underscore) and bypass this protection. In order to prevent such attacks, both Nginx and Apache 2.4+ strip all headers containing underscores from incoming requests by default. Django's built-in development server now does the same. Django's ...
https://man.mtool.work/django/6.1/releases/1.6.10.html
Django 1.7.3 リリースノート 9559
Django 1.7.3 リリースノート January 13, 2015 Django 1.7.3 fixes several security issues and bugs in 1.7.2. WSGI header spoofing via underscore/dash conflation When HTTP headers are placed into the WSGI environ, they are normalized by conver ... thus also in Django's request.META dictionary). Unfortunately, this means that the WSGI environ cannot distinguish between headers containing dashes and headers containing underscores: X-Auth-User and X-Auth_User both become HTTP_X_AUTH_USER . This mean ... eader (with underscore) and bypass this protection. In order to prevent such attacks, both Nginx and Apache 2.4+ strip all headers containing underscores from incoming requests by default. Django's built-in development server now does the same. Django's ...
https://man.mtool.work/django/6.1/releases/1.7.3.html
Django 4.2.30 release notes 9421
Django 4.2.30 release notes April 7, 2026 Django 4.2.30 fixes one security issue with severity "moderate" and four security issues with severity "low" in 4.2.29. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... pping hyphens to underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the res ... orm expectation, even if many proxies protect against this under default configuration (including nginx via underscores_in_headers off; ). Headers containing underscores are now ignored by ASGIRequest , matching the behavior of Daphne , the reference se ...
https://man.mtool.work/django/6.1/releases/4.2.30.html
Django 5.2.13 release notes 9421
Django 5.2.13 release notes April 7, 2026 Django 5.2.13 fixes one security issue with severity "moderate" and four security issues with severity "low" in 5.2.12. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... pping hyphens to underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the res ... orm expectation, even if many proxies protect against this under default configuration (including nginx via underscores_in_headers off; ). Headers containing underscores are now ignored by ASGIRequest , matching the behavior of Daphne , the reference se ...
https://man.mtool.work/django/6.1/releases/5.2.13.html
Django 4.2.28 release notes 9146
Django 4.2.28 release notes February 3, 2026 Django 4.2.28 fixes three security issues with severity "high", two security issues with severity "moderate", and one security issue with severity "low" in 4.2.27. CVE-2025-13473: Username enumer ... ity "low" according to the Django security policy . CVE-2025-14550: Potential denial-of-service vulnerability via repeated headers when using ASGI When receiving duplicates of a single header, ASGIRequest allowed a remote attacker to cause a potential d ... enial-of-service via a specifically created request with multiple duplicate headers. The vulnerability resulted from repeated string concatenation while combining repeated headers, which produced super-line ...
https://man.mtool.work/django/6.1/releases/4.2.28.html
Django 5.2.11 release notes 9146
Django 5.2.11 release notes February 3, 2026 Django 5.2.11 fixes three security issues with severity "high", two security issues with severity "moderate", and one security issue with severity "low" in 5.2.10. CVE-2025-13473: Username enumer ... ity "low" according to the Django security policy . CVE-2025-14550: Potential denial-of-service vulnerability via repeated headers when using ASGI When receiving duplicates of a single header, ASGIRequest allowed a remote attacker to cause a potential d ... enial-of-service via a specifically created request with multiple duplicate headers. The vulnerability resulted from repeated string concatenation while combining repeated headers, which produced super-line ...
https://man.mtool.work/django/6.1/releases/5.2.11.html
Django 6.0.4 release notes 9008
Django 6.0.4 release notes April 7, 2026 Django 6.0.4 fixes one security issue with severity "moderate", four security issues with severity "low", and several bugs in 6.0.3. Also, the latest string translations from Transifex are incorporat ... ed. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIRequest normalizes header names following WSGI conventions, mapping hyphens t ... o underscores. As a result, even in configurations where reverse proxies carefully strip security-sensitive headers named with hyphens, such a header could be spoofed by supplying a header named with underscores. Under WSGI, it is the res ... orm expectation, even if many proxies protect against this under default configuration (including nginx via underscores_in_headers off; ). Headers containing underscores are now ignored by ASGIRequest , matching the behavior of Daphne , the reference se ...
https://man.mtool.work/django/6.1/releases/6.0.4.html
PREV 1 2 3 4 5 6 7 8 NEXT