[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTP POST requests with url.el
From: |
Stefan Monnier |
Subject: |
Re: HTTP POST requests with url.el |
Date: |
Tue, 24 Oct 2006 11:44:03 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>>> Does anyone know what I'm doing wrong, or how I can find the bug?
>> Could it be that the data needs to be be url-encoded (SPC -> %20)?
> Additionally, a proper "Content-type" header is missing. I.e.,
> (url-request-extra-headers
> '(("Content-type" . "application/x-www-form-urlencoded")))
BTW, I think the URL library could use a "url-send" function or something
like that which makes it easier to send. Or at least add something to the
URL manual to explain how to do it.
Patches welcome,
Stefan