This fixes the issue that arose here:
added a destination path parameter to POST and PUT functions
Really sorry for taking so long to merge this in—this is clearly a good thing to have, and I appreciate you submitting it. Thank you, @achainan.
No problem, thanks for merging it in @mattt. Btw it was great listening to you at the NYC iOS Meetup.
Likewise! Thanks again :)