Implement basic config loading and updating. No save to file yet.

This commit is contained in:
Daniel García committed 2019-02-06 17:34:29 +01:00
1 parent 86ed75bf7c
commit 877408b808
6 files changed
+173 -90

No files matched your search

+1 -1
View File
@@ -331,7 +331,7 @@ fn _header_map() -> HeaderMap {
use reqwest::header::*;
macro_rules! headers {
($( $name:ident : $value:literal),+ $(,)* ) => {
($( $name:ident : $value:literal),+ $(,)? ) => {
let mut headers = HeaderMap::new();
$( headers.insert($name, HeaderValue::from_static($value)); )+
headers