fixes #3515
Merge pull request #3519 from dotCMS/issue-3515-duplicate-headers-server-error-in-chrome

#3515 Duplicate Headers Server Error when previewing an image using Chrome