Azure / autorest.python

Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
MIT License
76 stars 54 forks source link

[typespec-python] 'Content-Type' is not included in response_headers #2671

Open swathipil opened 6 days ago

swathipil commented 6 days ago

Previously, the Content-Type was included in the response_headers. For example, here.

However, I recently re-generated from this spec with typespec-python version 0.24.3 and this line was removed. Was this line intentionally removed?

msyyc commented 5 days ago

Will take an investigation soon.

msyyc commented 5 days ago

The issue is caused by TCGC: https://github.com/Azure/typespec-azure/issues/1112. After TCGC fixed, we need to upgrade to new version then the issue shall be fixed.