diff --git a/README.md b/README.md index d88cdb5..0084686 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ The library adds the following object to the device configuration: "commit_timeout": 0, // OTA commit timeout "url": "", // HTTP URL to poll "interval": 0, // Polling interval + "extra_http_headers": "", // Extra HTTP request headers "ssl_ca_file": "ca.pem", // TLS CA cert file "ssl_client_cert_file": "", // TLS cert file "ssl_server_name": "", // TLS server name diff --git a/mos.yml b/mos.yml index c624a65..9359003 100644 --- a/mos.yml +++ b/mos.yml @@ -15,6 +15,7 @@ libs: config_schema: - ["update.url", "s", {title : "Fetch updates from here"}] - ["update.interval", "i", {title : "Check for updates this often"}] + - ["update.extra_http_headers", "s", {title : "Extra HTTP request headers"}] # Default CA bundle for updating from mongoose-os.com (and any other site that uses LetsEncrypt) and S3. - ["update.ssl_ca_file", "s", "ca.pem", {title : "TLS CA file"}]