From: Raphael K. da C. <ku...@pr...> - 2010-12-15 14:32:23
|
(CC'ing enlightenment-devel again) On Wednesday 15 December 2010 06:32:18 Rui Miguel Silva Seabra wrote: > Em 15-12-2010 03:34, Raphael Kubo da Costa escreveu: > > Doesn't it make more sense to unconditionally set at least > > CURLOPT_POSTFIELDSIZE in this function (if data == NULL, set it to 0)? > > OK, thanks for the rest. > > I don't think this would be good because url_send() seems to distinguish > a GET from a POST based on data not being NULL. > > For a "new-style retweet" I have to do a POST to an URL without postargs. > > Rui At this point, I think we can't change the url_send()'s API anymore. If you keep the its code as-is, does it work for you? I had the impression it wasn't working properly. -- Raphael Kubo da Costa ProFUSION embedded systems http://profusion.mobi |