set the metadata in the request headers and not default headers