heh, erm, well, i didnt hear from anyone for a few hours, so i already committed the changes. apologies. theyre documented (poorly) on the wiki,
and the code should be mostly self-explanatory.  theres some new methods for
modifying request-attributes too.

-elf

On Wed, 13 Feb 2008, Daishi Kato wrote:

Hi,

I'm one of the guy who messed up the http-client.
If nobody else is using other than two args,
why don't we make it much simpler (http:POST req args)
without keywords?

A user who wants to customize POST method could do so using http:send-request.

--daishi

At Wed, 13 Feb 2008 01:41:52 -0800 (PST),
Elf wrote:


the POST method does not do what would normally be expected, in many cases.
i am proposing to keep the first two args (request/request-server and args)
and to keyword the rest, as well as adding an additional new arg for
type (eg xml, form-urlencoded, multipart, etc).  it seems from the code that
this was originally envisioned, and if there are no objections i will
implement it immediately.  i will patch any affected eggs as well, although
my grep through the repo shows no egg using more than the first two args.
the default will remain application/x-www-form-urlencoded so as not to break
existing apps.

thoughts?

-elf


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

******************************
 XREA.COM -Free Web Hosting-
 http://www.xrea.com/
******************************



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to