Re: Flip default of Header directive to always from onsuccess

2010-12-13 Thread Daniel Ruggeri


On Friday 29 October 2010, Eric Covener wrote:

http://httpd.apache.org/docs/2.3/mod/mod_headers.html#header

doc says:

By default, this directive only affects successful responses
(responses in the 2xx range). The optional condition can be either
onsuccess (default) or always (all status codes, including
successful responses). A value of always may be needed to
influence headers set by some internal modules even for successful
responses, and is always needed to affect non-2xx responses such
as redirects or client errors.

Any thoughts on flipping the default in 2.3 to always?  I think
this is a holdover from older releases where some of these
directives had Error* equivalents.


I fully support this!

--
Daniel Ruggeri



Re: Flip default of Header directive to always from onsuccess

2010-12-13 Thread Eric Covener
FYI I've already gotten to this in trunk (it came up again on IRC)

On Mon, Dec 13, 2010 at 9:28 AM, Daniel Ruggeri drugg...@primary.net wrote:

 On Friday 29 October 2010, Eric Covener wrote:

 http://httpd.apache.org/docs/2.3/mod/mod_headers.html#header

 doc says:

 By default, this directive only affects successful responses
 (responses in the 2xx range). The optional condition can be either
 onsuccess (default) or always (all status codes, including
 successful responses). A value of always may be needed to
 influence headers set by some internal modules even for successful
 responses, and is always needed to affect non-2xx responses such
 as redirects or client errors.

 Any thoughts on flipping the default in 2.3 to always?  I think
 this is a holdover from older releases where some of these
 directives had Error* equivalents.

 I fully support this!

 --
 Daniel Ruggeri





-- 
Eric Covener
cove...@gmail.com


Re: Flip default of Header directive to always from onsuccess

2010-12-12 Thread Stefan Fritsch
On Friday 29 October 2010, Eric Covener wrote:
 http://httpd.apache.org/docs/2.3/mod/mod_headers.html#header
 
 doc says:
 
 By default, this directive only affects successful responses
 (responses in the 2xx range). The optional condition can be either
 onsuccess (default) or always (all status codes, including
 successful responses). A value of always may be needed to
 influence headers set by some internal modules even for successful
 responses, and is always needed to affect non-2xx responses such
 as redirects or client errors.
 
 Any thoughts on flipping the default in 2.3 to always?  I think
 this is a holdover from older releases where some of these
 directives had Error* equivalents.

+1
'always' looks like the more reasonable default to me



Flip default of Header directive to always from onsuccess

2010-10-29 Thread Eric Covener
http://httpd.apache.org/docs/2.3/mod/mod_headers.html#header

doc says:

By default, this directive only affects successful responses
(responses in the 2xx range). The optional condition can be either
onsuccess (default) or always (all status codes, including successful
responses). A value of always may be needed to influence headers set
by some internal modules even for successful responses, and is always
needed to affect non-2xx responses such as redirects or client errors.

Any thoughts on flipping the default in 2.3 to always?  I think this
is a holdover from older releases where some of these directives had
Error* equivalents.

-- 
Eric Covener
cove...@gmail.com