From c16e13ab7879db23e6bba08cbc3ffc0f3e95fad6 Mon Sep 17 00:00:00 2001 From: Gesina Phillips Date: Mon, 27 Apr 2026 13:03:09 -0400 Subject: [PATCH] bugfix for obj x feature request --- src/ingest_validation_tests/segmentation_mask_validator.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ingest_validation_tests/segmentation_mask_validator.py b/src/ingest_validation_tests/segmentation_mask_validator.py index ae0f215..347afc3 100644 --- a/src/ingest_validation_tests/segmentation_mask_validator.py +++ b/src/ingest_validation_tests/segmentation_mask_validator.py @@ -47,10 +47,8 @@ def xlsx_files_list(self) -> list[Path]: def validate_file(self, file_path: Path) -> str | list[str] | None: with open(file_path, "rb") as f: file = {"input_file": f} - headers = {"content-type": "multipart/form-data"} response = requests.post( "https://api.stage.metadatavalidator.metadatacenter.org/service/validate-structured-xlsx", - headers=headers, files=file, ) try: