check for http headers within the options and merge the proper content-type instead of overwriting it.