fix - set the correct ContentType for optimized response
Merge pull request #706 from aleksd/OptimizedResultFix

fix - set the correct ContentType for optimized response