Unless I'm missing something, does this not beg the question of having to
construct an array when setting the header to a single value. I like that
method, but would also like:

setDefaultRequestHeader(String name, String value, boolean append)

FWIW...

Donnie


> -----Original Message-----
> From: Paul C. Bryan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 11, 2002 2:06 PM
> To: Jakarta Commons Developers List
> Subject: Re: HTTPClient - setting default request headers impl Q
>
>
> I retract the following:
>
> > My vote: only *one* method: setDefaultRequestHeader(String name, String
> > value). In this case, if multiple headers are required, chain them
> > together in the value parameter with semicolons.
>
>
> Instead, I propose: setDefaultRequestHeader(String name, String[]
> values). This allows multiple values to be specified, and should greatly
> simplify implementation.
>
> Paul
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to