Added test for multipart, non form-data POST.

Closes #9054. The bug itself is no longer present.