Actions
Amélioration #4841
ouvertPréfixe custom header HTTP
Début:
09/07/2014
Echéance:
% réalisé:
0%
Temps estimé:
Version source:
Solution proposée:
Principaux fichiers impactés:
Wiki Détail:
Contrôle:
Description
La méthode `Action::exitError()` émet un entête "Warning: xxx".
Si on doit utiliser d'autres entêtes non-standard, on pourrait alors suivre les recommendations de la RFC 6648 :
1. When it is extremely unlikely that some parameters will ever be
standardized. In this case, implementation-specific and private-
use parameters could at least incorporate the organization's name
(e.g., "ExampleInc-foo" or, consistent with [RFC4288],
"VND.ExampleInc.foo") or primary domain name (e.g.,
"com.example.foo" or a Uniform Resource Identifier [RFC3986] such
as "http://example.com/foo"). In rare cases, truly experimental
parameters could be given meaningless names such as nonsense
words, the output of a hash function, or Universally Unique
Identifiers (UUIDs) [RFC4122].
L'entête pourrait alors être "Dcp-Warning: xxx" par exemple.
Actions
#1
Mis à jour par Charles Bonnissent il y a plus de 11 ans
En l’occurrence, le header warning est un des headers standard de la norme HTTP (https://tools.ietf.org/html/rfc4229#section-2.1.116)
Actions