Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Encoding filter

Purpose

Filter that automatically encodes the response.

Parameters

  • encodingFilter.on:
    • Purpose: To enable or disable the filter
    • Value: True or False
    • Default: False
  • encodingFilter.encoding:
    • Purpose: The encoding to use
    • Value: Any encoding recognised by Python
    • Default: utf-8
  • encodingFilter.mimeTypeList:
    • Purpose: The mime types that CherryPy should encode
    • Value: A list of mime types as defined here
    • Default: ['text/html']

Hosted by WebFaction

Log in as guest/cpguest to create tickets