deleted request hdr function because it is of no use