Add header "CONTENT-TYPE" based on format type.
Merge pull request #12 from arthurfurlan/master

Add header "CONTENT-TYPE" based on format type.