improve how to guess content format for write request
(linked to #42)