header processing in frameworks