educoder/pest — pull request #27 by mayconbordin (2012-11-25 00:35:54+00:00)
Title: Added support for multipart data

In the post and put methods, when the data argument is an array, it gets serialized through `http_build_query` making it impossible to send files as parameters.

I've created a method called `prepData` that checks if the value of each parameter starts with ***@*** and is a valid file, and if one or more of them do, it doesn't serialize the data array.