Fixed issue with content type not being set correctly

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>
Merge pull request #25 from kood1/master

Fixed issue with content type not being set correctly