title: python bottle deciding on return mimetype
body: <p>I am using bottle for a POC restful service project. would someone kindly let me know what is the best way to decide if the caller wants me to send the response in JSON, XML, or HTML? I have seen some examples of this using request.mimetypes.best_match, but that needs me to import flask. is there a way to do this in bottle itself?
  Thanks a lot,
  Reza</p>