jason810496 commented on PR #43841: URL: https://github.com/apache/airflow/pull/43841#issuecomment-2479685616
Hi @pierrejeambrun, here is the update: ### Common `Accept` Header for JSON and Text I have added `HeaderAcceptJsonOrText` in `common/headers.py`, annotated with `Mimetype` from `common/types.py`. I tested it with `application/json; charset=utf-8`, and for headers including `utf-8`, we need to use `startswith` to match the header correctly. Additionally, I included an OpenAPI schema for the `Accept` header. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
