Fixes to HTTP headers in QtController

Currently not being served right, and while browsers are slightly lenient, other HTTP implementations are not necessarily as kind