Fixed content-type check in request.go

Content-Type may have ";charset=utf-8" to denotate the encoding and
in this cases, request.go was failing to determine the content-type.