Fix location header type.