Using string as header not array. Works locally but AppEngine expects a string. PHP.net examples also use strings.