mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Merge pull request #5510 from inspec/nm/http-utf8
HTTP resource response body coerced into UTF-8
This commit is contained in:
commit
9511c1aaeb
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ module Inspec::Resources
|
|||
end
|
||||
|
||||
def body
|
||||
@worker.body
|
||||
@worker.body&.force_encoding(Encoding::UTF_8)
|
||||
end
|
||||
|
||||
def http_method
|
||||
|
|
Loading…
Reference in a new issue