harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "李竞沁" <littlee1...@gmail.com>
Subject Re: [classlib] [luni] HttpURLConnection does not have the "Accept" header (HARMONY-6036)
Date Tue, 09 Dec 2008 01:38:27 GMT
Hi Tim,No spec to insist what should be put in the request header. It is
what the RI does.

On Tue, Dec 9, 2008 at 12:35 AM, Tim Ellison <t.p.ellison@gmail.com> wrote:

> 李竞沁 wrote:
> > Hi Kevin,
> > The spec of Http said that "all headers except Host are optional.". And I
> > have investigated in the java api spec. No information about what headers
> > should be sent by the HttpURLConnection. It maybe a different behavior
> > between RI and harmony.
> > By the way, user can use setRequestProperty(key, value) method to set the
> > header field which he want to send.
>
> Sorry, but I'm still back at questioning why we would express a
> preference for test/html, image/gif and image/jpeg at all on the "GET /"
> request.
>
> What am I missing?
> Tim
>



-- 
Yours sincerely,
Charles Lee
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message