botbuilder-python
botbuilder-python copied to clipboard
Errors returned from a skill call have an incorrect 'content type' of text/plain
Version
latest
Describe the bug
If an exception occurs when a skill calls the skill host, the content type header is text/plain when it should be application/json
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
This results in 'Cannot deserialize content-type: text/plain'', and it is extremely difficult to determine the actual underlying error.
@EricDahlvang I've seen text before when the response isn't json... as in an error, bad request, etc... The result code of this is 401. Could that be related?
I would love to work on this !!