Commit graph

144 commits

Author SHA1 Message Date
Magnus Henoch
f0d64cfca0 (url-http-content-length-after-change-function): Use `url-lazy-message'. 2006-11-23 08:40:06 +00:00
Magnus Henoch
6e2988e60d (url-http): Make proxy-object buffer-local, to handle proxied
asynchronous connections correctly.
2006-11-15 23:29:56 +00:00
Magnus Henoch
9832523519 (url-http-wait-for-headers-change-function): Defer detection of HTTP
0.9 until we have at least one line.
2006-11-15 23:07:23 +00:00
Chong Yidong
db8d59365b (url-http-mark-connection-as-free, url-http-find-free-connection):
Don't treat process with status `connect' as free.
(url-http-async-sentinel): Request correct url.
2006-11-10 17:09:01 +00:00
Magnus Henoch
385b64c52a (url-http-handle-authentication): If there are several authentication
headers, use the strongest available method.
2006-11-08 20:34:47 +00:00
Magnus Henoch
8917392a52 (url-http-handle-authentication): If there are several authentication
headers, use the first with a supported method.
2006-11-02 23:06:20 +00:00
Magnus Henoch
8ea882655e (url-http-create-request): Use buffer-locale equivalents of
dynamically bound variables.
2006-11-01 15:16:22 +00:00
Magnus Henoch
ced20bfb68 (url-http-parse-headers): Fix misplaced paren. 2006-10-28 14:51:40 +00:00
Chong Yidong
5695d1dd75 * url-http.el (url-http-mark-connection-as-free): Verify that
connection is open before saving it.
	(url-http-handle-authentication): Use url-retrieve-internal
	instead of url-retrieve.
	(url-http-parse-headers): Adapt to new callback interface.
	(url-http): Handle non-blocking connections.
	(url-http-async-sentinel): Create.

	* url.el (url-retrieve): Update docstring for new callback interface.
	Remove all code.
	(url-retrieve-internal): Move code from url-retrieve here.

	* url-gw.el (url-open-stream): Use a non-blocking socket for
	`native' gateway method, if available.
2006-10-27 14:44:25 +00:00
Magnus Henoch
784f5416cf (url-https-create-secure-wrapper): Always use tls gateway method. 2006-10-16 14:28:46 +00:00
Magnus Henoch
dfea17e083 (url-http-find-free-connection): Handle url-open-stream returning nil. 2006-10-12 19:59:58 +00:00
Magnus Henoch
9c51663a06 url-https.el: Remove (clashes with url-http on 8+3 systems).
url-http.el: Move contents of url-https.el here.  Add autoloads.
2006-10-11 20:58:36 +00:00
Stefan Monnier
162fbe11f5 (url-http-head-file-attributes): Add device "info". 2006-09-20 17:35:13 +00:00
Stefan Monnier
c2a7ddb1f3 (url-http-create-request):
Use `url-recreate-url-attributes' when setting real-fname.
2006-09-01 02:31:47 +00:00
Reiner Steib
d10a6bf119 (url-http-file-exists-p): Test if status is integer. 2006-05-12 12:29:36 +00:00
Eli Zaretskii
48abdb63bf (url-http-parse-headers): Don't reuse connection if "Connection: close" header
was seen.
2006-05-05 12:10:24 +00:00
Stefan Monnier
bedeb7fde3 (url-http-find-free-connection): Fix braino in last fix. 2006-03-07 17:21:16 +00:00
Stefan Monnier
8dff56def5 (url-http-find-free-connection): Don't kill the process
when killing the temp buffer.
(url-http-symbol-value-in-buffer): Massage to make it clear to the
byte-compiler that the function is defined.
2006-03-06 03:17:00 +00:00
Stefan Monnier
4e606fbad7 (url-http-find-free-connection): braino. 2006-02-20 22:21:00 +00:00
Stefan Monnier
55d1d8b731 Require `url' rather than try to autoload parts of it.
(url-http-find-free-connection): `url-open-stream' needs a real buffer.
(url-http-parse-headers): Set `url-redirect-buffer' when following
a redirection reply.
2006-02-20 21:52:08 +00:00
Thien-Thi Nguyen
5b0d63bc36 Update years in copyright notice; nfc. 2006-02-05 23:44:47 +00:00
Stefan Monnier
12f1edc823 Use with-current-buffer.
(url-http-target-url): Rename from url-http-cookies-sources.
(url-http-parse-headers): Use it.
(url-http-handle-authentication): Use subst-char-in-string.
2005-11-18 16:55:54 +00:00
Eli Zaretskii
cc38a29416 Remove XEmacs conditionals. 2005-10-20 14:17:14 +00:00
Stefan Monnier
1430e7f9b9 (url-http-create-request): Avoid incorrect implicit uni->multibyte conversion. 2005-10-03 18:19:45 +00:00
Juanma Barranquero
2344ffc141 (url-http-cookies-sources): Defvar at compile time. 2005-08-24 14:24:20 +00:00
Thien-Thi Nguyen
71ddfde5a5 Update years in copyright notice; nfc. 2005-08-06 15:55:38 +00:00
Richard M. Stallman
dc524e8ba5 (url-http-parse-headers): Add :redirect arg-pair
when calling url-retrieve, to indicate a redirect.
2005-07-15 05:12:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Richard M. Stallman
231add10db (url-http-create-request): Call url-recreate-url in proxy case. 2005-06-28 21:35:28 +00:00
Richard M. Stallman
e893ce91fb (url-http-create-request): When computing real-fname,
call url-filename in both cases.
2005-06-28 00:48:17 +00:00
Eli Zaretskii
63db964466 (url-http-chunked-encoding-after-change-function): Use `url-http-debug'
instead of `message'.
2005-06-04 18:37:16 +00:00
Eli Zaretskii
b8e517587a Simplify last change. 2005-06-04 18:32:57 +00:00
Eli Zaretskii
86b21ac359 (url-http-parse-headers): Pass redirected URL as a callback argument. 2005-06-04 18:30:54 +00:00
Juanma Barranquero
216d380630 Replace string-to-int' by string-to-number'. 2005-05-16 10:07:59 +00:00
Richard M. Stallman
76bad53408 (url-http-parse-headers): Test url-automatic-caching. 2005-02-14 09:58:33 +00:00
Eli Zaretskii
cfdd484fc7 (url-http-parse-headers): Reset url-http-data to nil,
like for the 303 response.
2005-01-22 10:52:28 +00:00
Thien-Thi Nguyen
e817f9a248 (url-http-handle-authentication): Don't kill the current buffer. 2005-01-03 16:56:28 +00:00
Andreas Schwab
cacfe88b03 (url-http-handle-cookies): Bind `url-current-object'
to `url-http-cookies-sources' so that cookies are attributed to
proper domain.
(url-http): Make local variable `url-http-cookies-sources'.
2004-11-30 21:32:35 +00:00
Andreas Schwab
dc1a0a7a28 (url-http-create-request): Don't add newline after
the request data.
2004-11-28 19:14:11 +00:00
Stefan Monnier
3f19601e61 (url-http-head-file-attributes, url-http-file-attributes):
Add id-format parameter.
2004-04-16 22:01:56 +00:00
Stefan Monnier
b43eb9abd6 (url-http-parse-headers, url-http-file-exists-p): Remove unused var `version'. 2004-04-12 20:44:14 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Miles Bader
e5566bd545 Resolve CVS conflicts 2004-04-04 04:44:10 +00:00
Stefan Monnier
8c8b8430b5 Initial revision 2004-04-04 01:21:46 +00:00