Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Sensibilisation à
l'Intelligence Artificielle
Voir le programme détaillé
Classe « Response »

Méthode flask.wrappers.Response.freeze

Signature de la méthode freeze

def freeze(self) -> 'None' 

Description

help(Response.freeze)

Make the response object ready to be pickled. Does the
following:

*   Buffer the response into a list, ignoring
    :attr:`implicity_sequence_conversion` and
    :attr:`direct_passthrough`.
*   Set the ``Content-Length`` header.
*   Generate an ``ETag`` header if one is not already set.

.. versionchanged:: 2.1
    Removed the ``no_etag`` parameter.

.. versionchanged:: 2.0
    An ``ETag`` header is always added.

.. versionchanged:: 0.6
    The ``Content-Length`` header is set.


Vous êtes un professionnel et vous avez besoin d'une formation ? Coder avec une
Intelligence Artificielle
Voir le programme détaillé