Docling Serve expects array fields (to_formats) as repeated multipart keys (to_formats=md&to_formats=html&to_formats=json), not a JSON string. Changed _build_form_data to return list[tuple] so httpx sends repeated keys correctly. Fixes 422 Unprocessable Entity on convert. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_analysis_service.py | ||
| test_api_endpoints.py | ||
| test_bbox.py | ||
| test_models.py | ||
| test_pipeline_options.py | ||
| test_repos.py | ||
| test_schemas.py | ||
| test_serve_converter.py | ||