Updated setContentType to clear _document after creating _multipartReader

Fixes issue #236.