Allow charset=utf-8 in response Content-Type#5
Allow charset=utf-8 in response Content-Type#5apparentlymart merged 1 commit intohashicorp:masterfrom
Conversation
|
Thanks for working on this, @mkjois! This looks good to me. |
|
Hi i am trying to fetch data from external source using the http provider however it is failing with below err: Error: Unsupported block type on var.tf line 57, in data "http" "OMSAgent": Blocks of type "request_headers" are not expected here. Did you mean to define Releasing state lock. This may take a few moments... Code : |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Addresses #1 which clones hashicorp/terraform#15164. Uses
mimefor proper parsing.Testing
2 new test cases which both working correctly after change:
Content-Type: text/plain; charset=utf-8Content-Type application/json; charset=utf-16