I'm moving the common part (setting headers and write callback/data) between a POST and a PUT using curl.
I'm moving the common part (setting headers and write callback/data)
between a POST and a PUT using curl.

If required, I will implement a function to PUT (since POST'ing is
already done).

mback2k/libgcal,Adenilson/libgcal,Adenilson/libgcal