Insert HeaderDelete middleware at index 0 in case ActionDispath::Static is not present.