harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou" <zhoukevi...@gmail.com>
Subject Re: [classlib] [luni] HttpURLConnection does not have the "Accept" header (HARMONY-6036)
Date Tue, 09 Dec 2008 03:39:58 GMT
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?

On Tue, Dec 9, 2008 at 9:55 AM, 李竞沁 <littlee1032@gmail.com> wrote:

> Hi Kevin,I have these questions:
> 1. What will the server, which is not compatible with HTTP 1.1, do if it
> receives a HTTP 1.1 request? ( Our HTTP header has told that it is a HTTP
> 1.1 request.)
> 2. Should this be a server's misbehavior because spec does not insist send
> accept header? Or are there any common rules to guide this behavior? ( Do
> we
> only miss accept header?)
>
> On Tue, Dec 9, 2008 at 9:44 AM, Kevin Zhou <zhoukevin83@gmail.com> wrote:
>
> > Charles wrote,
> > > The spec of Http said that "all headers except Host are optional." It
> is
> > what the RI does.
> >
> > Yes, I think we should be compatible with RI's behaviors.
> >
>
>
>
> --
> Yours sincerely,
> Charles Lee
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message