httparty icon indicating copy to clipboard operation
httparty copied to clipboard

Bugfix: normalize nested hash keys with multipart data

Open michaelrigart opened this issue 6 months ago • 0 comments

While using HTTParty, I encountered a bug already mentioned in #757 .

It seems that normalizing the payload hash for multipart/form-data was not going as expected when the payload contained nested hashes and/or arrays.

The recursion inside the normalize_keys method was not returning the proper result. This PR should fix this.

michaelrigart avatar Aug 02 '24 17:08 michaelrigart