adding HTTP response header (rebased onto dev_5_0)



This is the same as gh-843 but rebased onto dev_5_0.

----

It fixes https://trac.openmicroscopy.org.uk/ome/ticket/12333

cc: @kennethgillen @chris-allan