Function glean_core::upload::process_metadata
source · pub fn process_metadata(path: &str, metadata: &str) -> Option<PingMetadata>
Expand description
Processes a ping’s metadata.
The metadata is an optional third line in the ping file, currently it contains only additonal headers to be added to each ping request. Therefore, we will process the contents of this line and return a HeaderMap of the persisted headers.