use header status code as filename