Change prove sending media from a query string to a header