Projet

Général

Profil

Development #1278

Support content types in on_response filters

Ajouté par Jérôme Schneider il y a environ 12 ans. Mis à jour il y a environ 12 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Jérôme Schneider
Catégorie:
-
Version cible:
Début:
24 février 2012
Echéance:
% réalisé:

90%

Temps estimé:
Patch proposed:
Planning:

Description

Add an option content-types to on_reponse hook in the mapping :

            'on_response': [{                                                            
                'filter': myfilter,                                 
                'content-types': ['text/html', 'text/css'],                                          
                'values': {},                                                                   
                },]  

Révisions associées

Révision 0f17ccab (diff)
Ajouté par Jérôme Schneider il y a environ 12 ans

Fix #1278: Support content-types in on_response filters

  • configs/biblio_vincennes.py: use content-types option * configs/famille_vincennes.py: use content-types option * filters/vincennes.py: remove useless content types tests * dispatcher.py: suppport content-types option

Historique

#1

Mis à jour par Jérôme Schneider il y a environ 12 ans

  • Statut changé de Nouveau à Solution déployée

Appliqué par commit commit:0f17ccaba2b3fa8cd4aaf7688685582b2b971eda.

#2

Mis à jour par Jérôme Schneider il y a environ 12 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF