Fixed issue with content type not being set correctly

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>