jason810496 opened a new pull request, #50547:
URL: https://github.com/apache/airflow/pull/50547

   
   related: #50333, #49470
   
   ### Why
   
   The #50333 PR require the `Content-Type` to be `application/x-ndjson` for 
the `get_log` endpoint to generate correct frontend query.
   
   
https://github.com/apache/airflow/blob/51a84ce44e919d7368cd2f6f182dbb1c2f8f1fd3/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts#L770
   
   ### What
   
   Since PR #46827 sets the `Content-Type` to `application/x-ndjson`, this 
change explicitly aligns with that behavior by using `application/x-ndjson` to 
ensure consistency and correctness:
   
   
https://github.com/apache/airflow/pull/46827/files#diff-18e153220119c0579d8b8030d13daaa04a623b38f9854ffff8702a2bbe68f4f8R123-R130


-- 
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]

Reply via email to