I decided that even though, I could've base64 decoded the contents of the 3rd body to arrive at {"a":1}, and subsequently parsing it as application/json, that is too far a stretch to be realistic. In this case, we simply return the contents as {"a":1} (the string)
This PR treats the first 2 of the following bodies as the same:
I decided that even though, I could've base64 decoded the contents of the 3rd body to arrive at
{"a":1}
, and subsequently parsing it asapplication/json
, that is too far a stretch to be realistic. In this case, we simply return the contents as{"a":1}
(the string)