Or perhaps instead PartyFoul should iterate though the values of the params hash and strip out anything with binary data? I believe we could detect this by checking the encoding of the string.