... らのデコレータは ETag と Last-Modified ヘッダを生成するために使用できます。詳細は 条件付きのビュー処理 を参照してください。 GZip 圧縮 django.views.decorators.gzip のデコレータは、ビュー単位でコンテンツの圧縮を制御します。 gzip_page () このデコレータは ... 、ブラウザが gzip 圧縮を許可している場合にコンテンツを圧縮します。それに応じて Vary ヘッダを設定し、キャッシュがそのストレージを Accept-Enco ... ... rokenLinkEmailsMiddleware [ソース] 壊れたリンクの通知メールを MANAGERS に送信します (詳細は エラーレポートの管理 を参照)。 GZip middleware class GZipMiddleware [ソース] max_random_bytes デフォルトは 100 です。 圧縮されたレスポンスに含まれるランダムバ ... イトの最大数を変更するには、 GZipMiddleware をサブクラス化して属性をオーバーライドしてください。 注釈 セキュリティ研究者たちは、Webサイトで GZipMiddleware を ... いては、 BREACH paper (PDF) 、 breachattack.com 、そして Heal The Breach (HTB) paper を参照してください。 django.middleware.gzip.GZipMiddleware は、GZip 圧縮に対応したブラウザ(すべてのモダンブラウザ)のためにコンテンツを圧縮します。 このミドルウェアは、 ... ... for Content Security Policy headers django.middleware.csrf Protects against Cross Site Request Forgeries django.middleware.gzip Middleware to serve GZipped content for performance. django.middleware.http Middleware handling advanced HTTP features. dj ... tors.cache django.views.decorators.common django.views.decorators.csp django.views.decorators.csrf django.views.decorators.gzip django.views.decorators.http django.views.decorators.vary django.views.generic.dates django.views.i18n ... ... acking module django.middleware.common module django.middleware.csp module django.middleware.csrf module django.middleware.gzip module django.middleware.http module django.middleware.locale module django.middleware.security module django.shortcuts mo ... ws.decorators.common module django.views.decorators.csp module django.views.decorators.csrf module django.views.decorators.gzip module django.views.decorators.http module django.views.decorators.vary module django.views.generic.base.ContextMixin (組み ... tions のクラス) GROUP (WindowFrameExclusion の属性) groups (models.User の属性) gt field lookup type gte field lookup type gzip_page() (django.views.decorators.gzip モジュール) GZipMiddleware (django.middleware.gzip のクラス) H handle() (BaseCommand ... ... csrf_exempt() csrf_protect() ensure_csrf_cookie() requires_csrf_token() sensitive_variables() sensitive_post_parameters() gzip_page() condition() conditional_page() etag() last_modified() require_http_methods() require_GET() require_POST() require_s ... ... ーションにより、 Meta.db_table_comment で定義されたテーブルコメントを変更できるようになりました。 BREACH 攻撃に対する緩和策 GZipMiddleware に BREACH 攻撃の緩和機能が追加されました。BREACH 攻撃をより困難にするために、gzip レスポンスに最大 100 バイトのラ ... ... csrf_exempt() csrf_protect() ensure_csrf_cookie() requires_csrf_token() sensitive_variables() sensitive_post_parameters() gzip_page() condition() conditional_page() etag() last_modified() require_http_methods() require_GET() require_POST() require_s ... ... ァイルのパスを指定できます。このファイルには1行につき1つの小文字のパスワードが含まれている必要があり、プレーンテキストまたはgzip圧縮されている必要があります。 get_error_message () [ソース] ValidationError のエラーメッセージをカスタマイズするためのフック ... 2026年10月08日