mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
Body content of http resourece - enforced utf-8
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
This commit is contained in:
parent
401df56e71
commit
174a358355
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module Inspec::Resources
|
||||||
end
|
end
|
||||||
|
|
||||||
def body
|
def body
|
||||||
@worker.body
|
@worker.body&.force_encoding(Encoding::UTF_8)
|
||||||
end
|
end
|
||||||
|
|
||||||
def http_method
|
def http_method
|
||||||
|
|
Loading…
Reference in a new issue