ietf-xml-mime
[Top] [All Lists]

RE: MIME types and content negotiation

2000-03-17 10:42:55
Chris Lilley wrote,
Accept: */*-xml;q=0.7, application/xml;q=0.5, text/xml;q=0.001

Some servers might support */*-xml, but if they do it's because
they implement a non-standard extension to RFC2616. From,

 14.1 Accept

   Accept = "Accept" ":" #( media-range [ accept-params ] )
   media-range = ("*/*" |
                  (type "/" "*") |
                  (type "/" subtype)) *( ";" parameter)

ie. you're allowed to wildcard the *whole* type or subtype, but
you can't expect a general regular expression match.

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin(_at_)cromwellmedia(_dot_)com          http://www.cromwellmedia.com/


<Prev in Thread] Current Thread [Next in Thread>