Fixed issue #170

Small fix to set the Content-Type Header even though the postDataEncoding is unchanged