Allow non-string objects to be data with files
Merge pull request #1537 from Lukasa/datetime

Allow non-string objects to be posted as data alongside files.