Sorry to ask a basic question here. I could not find a simple answer in the doc.

I would like to specify that my client prefers certain mime types over others. So I would like to set the
"Accept" header. With the java.net framework I would just do this:

       URLConnection conn = idurl.openConnection();
conn.addRequestProperty("Accept", "application/rdf+xml, text/ html; q=0.2");

how do I do this in Restlets?

It would be nice to also be able to specify some default consumers of the different representations...

Henry

Home page: http://bblfish.net/
Sun Blog: http://blogs.sun.com/bblfish/
Foaf name: http://bblfish.net/people/henry/card#me



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to