Re: Issues addressed in the -10 and -11 drafts

On 02/09/2010, at 4:00 PM, Willy Tarreau wrote:

>> 
>> #95 - Handling multiple Content-Length headers (-11)
> 
> I reported a few cases of duplicated content-lengths I already observed
> and the fact that I decided to only allow multiple content-lengths if
> they are all exactly the same.

How common is this in your experience? 


> You said that for this specific case this
> was probably acceptable. Do you think relaxing the rule for this specific
> case merits a a small add-on to the spec or should we simply enfore the
> test and wait for code responsible for duplication to get fixed when
> facing the errors (after all, since the content-length is not defined as
> a comma-separated list, it should never appear more than once, but you
> know the difference between what we say and what we observe) ?


I think there are two concerns here:
  1) making the spec more complex
  2) making code implementing the spec more complex

Is it going to cause your implementation problems to refuse messages with two matching content-length headers?

Cheers,

--
Mark Nottingham     http://www.mnot.net/

Received on Tuesday, 14 September 2010 05:31:46 UTC