Skip to content

Commit

Permalink
Introduce update.extra_http_headers tunable
Browse files Browse the repository at this point in the history
CL: Introduce update.extra_http_headers tunable

PUBLISHED_FROM=efeb39562ee9f5dfd92395ce44fa2a6a02b652b9
  • Loading branch information
cpq authored and cesantabot committed Dec 6, 2018
1 parent 8ea3c59 commit 4d6473a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions mos.yml
Expand Up @@ -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"}]
Expand Down

0 comments on commit 4d6473a

Please sign in to comment.