The latter can cause duplicate Content-Type headers. Thanks to strcat for notifying me of the issue.
Content-Type