Projet

Général

Profil

Development #15524

r'text/*' marche par bonheur

Ajouté par Frédéric Péters il y a environ 7 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
20 mars 2017
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

REQUESTS_ALLOWED_CONTENT_TYPES = (
    r'text/*', r'application/(json|xml)'
)

Ça marche parce qu'il suffit de matcher le début, mais ça matcherait aussi textwhatever/plop, ce qui n'est pas l'intention.


Fichiers

Révisions associées

Révision 1e9ccf00 (diff)
Ajouté par Josué Kouka il y a environ 7 ans

improved logged requests response content-type filtering (#15524)

Historique

#1

Mis à jour par Josué Kouka il y a environ 7 ans

#2

Mis à jour par Frédéric Péters il y a environ 7 ans

r'text/'.

#4

Mis à jour par Benjamin Dauvergne il y a environ 7 ans

Ack.

#5

Mis à jour par Josué Kouka il y a environ 7 ans

  • Statut changé de En cours à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#6

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF