all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* make HTTP request with custom headers
@ 2010-10-23  8:13 Andrey Torba
  2010-10-24 22:50 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Torba @ 2010-10-23  8:13 UTC (permalink / raw
  To: Help-gnu-emacs

Hello,

I need HTTP request with custom headers:

(let ((url-http-extra-headers '(("name" . "value"))))

  (url-http (url-generic-parse-url "http://myhost/")
            (lambda () (print "hello"))
            nil))

I use `url-http-extra-headers' variable from url-http.el module to
pass extra headers but no effect.
What do i do wrong?

--
Regards, Andrey



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make HTTP request with custom headers
  2010-10-23  8:13 make HTTP request with custom headers Andrey Torba
@ 2010-10-24 22:50 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2010-10-24 22:50 UTC (permalink / raw
  To: Andrey Torba; +Cc: Help-gnu-emacs

On Sat, Oct 23, 2010 at 10:13 AM, Andrey Torba <andreytorba@gmail.com> wrote:
> Hello,
>
> I need HTTP request with custom headers:
>
> (let ((url-http-extra-headers '(("name" . "value"))))
>
>   (url-http (url-generic-parse-url "http://myhost/")
>             (lambda () (print "hello"))
>             nil))
>
> I use `url-http-extra-headers' variable from url-http.el module to
> pass extra headers but no effect.
> What do i do wrong?


Since no one seems to know, please send a bug report. (You might want
to upgrade to the latest released Emacs first if you have not already
done so.)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-24 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-23  8:13 make HTTP request with custom headers Andrey Torba
2010-10-24 22:50 ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.