Closed yoshuawuyts closed 4 years ago
Implements ToHeaderValues for more string types. Noticed that passing &format!("{}", "value") as the header value didn't work, but format!("{}", "value").as_str() does. This fixes that. Thanks!
ToHeaderValues
&format!("{}", "value")
format!("{}", "value").as_str()
Implements
ToHeaderValues
for more string types. Noticed that passing&format!("{}", "value")
as the header value didn't work, butformat!("{}", "value").as_str()
does. This fixes that. Thanks!