Hi Tim,Should we give some default value to some HTTP headers, such as Accept: */*?
Actually RI used to have the method URLConnection. setDefaultRequestProperty(), but now it is deprecated. I have no idea about it. On Tue, Dec 9, 2008 at 12:00 PM, Tim Ellison <[EMAIL PROTECTED]> wrote: > Kevin Zhou wrote: > > Maybe this violates the HTTP/1.1 spec, should we abandon these servers? > > No, I don't think so. RI, IE and Firefox all send Accept header to > support > > such servers. > > Why don't we follow this as well to satisfy with our potential clients? > > Thanks for the explanation -- it is starting to make sense now you tell > me the server is misbehaving. > > Remaining question: do we just mimic the RI's accept header which seems > to have a preference for some mime types, or just go for Accept: */* ? > > Regards, > Tim > > -- Yours sincerely, Charles Lee
