harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [classlib] [luni] HttpURLConnection does not have the "Accept" header (HARMONY-6036)
Date Mon, 08 Dec 2008 16:42:58 GMT
Tim wrote,
> why we would express a preference for test/html?

Kevin wrote,
> I find that RI has such a support, but we doesn't.

If I got Kevin's point correctly he meant us to be compatible with RI. The
bug description [1] mentions compatibility testing as well.

[1] https://issues.apache.org/jira/browse/HARMONY-6036

On Mon, Dec 8, 2008 at 7:35 PM, 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

С уважением,
Алексей Федотов,
ЗАО «Телеком Экспресс»
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message