Re: HTTP ACCEPT field and MIME types

Tim Berners-Lee (timbl@www3.cern.ch)
Wed, 2 Jun 93 18:16:33 +0100


Jay,

A good point about the commas in the Accept: field. I hadn't noticed
that MIME qualified the type with parameters sometimes. It seems
there is something strange in the example you give

Content-Type: application/octet-stream;
name=foo.tar.Z; type=tar;
conversions="x-encrypt,x-compress"

that means that the MIME typing isn't coping -- in particular here
the content-encoding field isn't coping.

There are several TBC areas in the latest version (any version) which
need to be filled in before its an RFC. (An ID first maybe). And
there must of course be working implementations. The libwww uses
the Accept: field. It in fact sends one field per content-type.
It's not obvious how to distinguish between w3 parameters and MIME
parameters to a type. Maybe we don't have to.

request:
Accept: image/gif; q=0.8; width=1200; height=100; colous=256;
response:
Content-Type: image/gif; width=800; height=400; colours=10;

Tim