Always use specified content type in APIRequestFactory

If `content_type` is specified in the `APIRequestFactory`, always include it in the request, even if data is empty.

This caused me 2 hours of debugging, because the content type was not set on my requests with empty data :)