[Changed] metadata extraction from http request refactoring