The documentation for httpclient shows how to use MultipartData objects in POST requests. However, the code here:
https://github.com/Araq/Nim/blob/master/lib/pure/httpclient.nim
doesn't mention MultipartData anywhere. What am I missing here?
That's the master branch. MultipartData is only implemented in the devel branch: https://github.com/Araq/Nim/blob/devel/lib/pure/httpclient.nim
It shouldn't even show up in the documentation on the website actually.