Yes. But i am spreading this discussion over several pull requests which is not ideal. I have no definite opinion, but am looking for the reasoning why we should do one or the other and if it matters.

----- Reply message -----
Von: "David de Boer" <notifications@github.com>
An: "FriendsOfSymfony/FOSHttpCache" <FOSHttpCache@noreply.github.com>
Cc: "David Buchmann" <david@liip.ch>
Betreff: [FOSHttpCache] Improve user context caching docs (#66)
Datum: So., Mai. 18, 2014 21:20
In doc/user-context.md: 
>   
> -$hashGenerator = new HashGenerator(); 
> -$hashGenerator->registerProvider($authenticationService); 
> +if ('HEAD' == strtoupper($_SERVER['REQUEST_METHOD'])) { 
> +    header(sprintf('X-User-Context-Hash: %s', $hash)); 
> +    exit; 
> +} 
> + 
> +// 405 Method not allowed in case of non-HEAD requests 
> +header('HTTP/1.1 405'); 

By normal you mean GET instead of HEAD? 

&mdash;
Reply to this email directly or view it on GitHub.