diff --git a/platformio/clients/registry.py b/platformio/clients/registry.py index bbb0725c..123b3239 100644 --- a/platformio/clients/registry.py +++ b/platformio/clients/registry.py @@ -38,7 +38,9 @@ class RegistryClient(RESTClient): headers={ "Authorization": "Bearer %s" % account.fetch_authentication_token(), "Content-Type": "application/octet-stream", - "X-PIO-SHA256": fs.calculate_file_hashsum("sha256", archive_path), + "X-PIO-Content-SHA256": fs.calculate_file_hashsum( + "sha256", archive_path + ), }, data=fp, )