-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultytype: bugbug in the librarybug in the library
Description
ruby-http-client/lib/ruby_http_client.rb
Line 152 in 74b7bff
| @request.body = @request_body.to_json |
If the request_body is already a JSON String, this over-encodes it, instead of leaving it alone. This line should check and see if it's a Hash, and format it only if needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultytype: bugbug in the librarybug in the library