Hi, On Wed, Mar 26, 2008 at 05:15:49PM +0000, place wrote:
This is part one in a series for file inputs. Parts two and three are written. Parts four and five are contemplated. Maybe a part six if I feel like it. Part three is the one that makes it at least appear to work, though I'll need help in testing at that point.
Committed with some changes: capi.c: made it test using flags for both POST & GET. url.c : made a_Url_set_data's second parameter a Dstr**. url.c, dlib.c: changed Url_dstr_cmp for Dstr_cmp. changed the implementation too. dlib.c: made dStr_sized_new allocate sz+1 bytes (to avoid a realloc). Please check them, because I've done little testing.
HTTPS note: If https does remain a dpi, somebody will have to decide what they want to do with Capi_dpi_build_cmd() if http_query can contain NULLs.
OK. -- Cheers Jorge.-