[OTDev] HTML MIME type

Nina Jeliazkova nina at acad.bg
Mon Nov 23 15:26:05 CET 2009


Hello Tobias,

IMHO mandatory MIME type means it should be available always, but not
necessarily be the default MIME type.  
The API should normally be targeted to non-browser clients that are able
to set Accept header correctly. 
I would also prefer  HTML as default type to please browsers
(particularly IE).

Best regards,
Nina

Tobias Girschick wrote:
> Hello All,
>
> just one short question/comment on RDF and HTML MIME types. We have
> defined RDF as mandatory MIME type, which is fine. But this does not
> imply that RDF is the standard return MIME type, does it? Just because
> there were problems with IE in our first test iteration, if HTML was not
> the first/standard return type. 
> Any opinions? I would suggest that RDF is standard for all URIs that are
> not accessed via web browsers and HTML only for those that are (there
> one would have to add the -H 'Accept:application/rdf+xml'  parameter to
> a curl call for example)
>
> Regards,
> Tobias + Fabian
>
>   




More information about the Development mailing list