Commit graph

222 commits

Author SHA1 Message Date
Chong Yidong
c0ed4c2329 url.el (url-configuration-directory): Use user-emacs-directory. 2007-06-13 00:07:59 +00:00
Chong Yidong
c705474fa3 (url-configuration-directory): Use user-emacs-directory. 2007-06-13 00:07:32 +00:00
Stefan Monnier
495fa7db39 (url-cookie-name, url-cookie-value, url-cookie-expires, url-cookie-localpart)
(url-cookie-domain, url-cookie-secure, url-cookie-set-name)
(url-cookie-set-value, url-cookie-set-expires, url-cookie-set-localpart)
(url-cookie-set-domain, url-cookie-set-secure, url-cookie-retrieve-arg)
(url-cookie-create, url-cookie-p): Remove.
(url-cookie): New struct.
(url-cookie-store): Use setf instead of url-cookie-set-*.
2007-06-12 18:24:25 +00:00
Chong Yidong
de74fffc15 Fix typo. 2007-05-29 16:24:25 +00:00
Chong Yidong
f93e42baac (url-mailto): Insert body after mail-header-separator if present, so
that is is before signature.  Suggested by Leo Liu <sdl.web@gmail.com>.
2007-05-29 15:31:08 +00:00
Chong Yidong
345c7f05d8 * url-mailto.el (url-mailto): Insert body after
mail-header-separator if present, so that is is before signature.
Suggested by Leo Liu <sdl.web@gmail.com>.
2007-05-29 15:31:01 +00:00
Chong Yidong
0539db756c (url-generic-parse-url): Revert 2006-10-09 changes. 2007-04-15 16:47:20 +00:00
Chong Yidong
5cfdb0fb63 * url-parse.el (url-generic-parse-url): Revert 2006-10-09 changes. 2007-04-15 16:47:08 +00:00
Chong Yidong
f25a994634 * url-http.el (url-http-parse-headers): Stop after a set number of
redirections.  Suggested by Diane Murray.

* url-vars.el (url-max-redirections): New var.
2007-04-13 14:59:08 +00:00
Chong Yidong
58aba8143c (url-http-parse-headers): Stop after a set number of redirections.
Suggested by Diane Murray.
2007-04-13 14:58:56 +00:00
Chong Yidong
2faae86bd7 (url-max-redirections): New var. 2007-04-13 14:52:03 +00:00
Glenn Morris
60df22cc35 Changes from author without assignment are (thankfully) tiny. 2007-04-12 02:29:32 +00:00
Chong Yidong
8c33dc1375 (url-http-handle-cookies): Reverse list returned by
`mail-fetch-field', so that cookies are set in the correct order.
2007-04-01 15:39:13 +00:00
Chong Yidong
b4ddc815b7 (url-cookie-retrieve, url-cookie-host-can-set-p): Deal with wildcard
dots in domain values.
2007-04-01 15:38:50 +00:00
Chong Yidong
f3e30bd0ec * url-http.el (url-http-handle-cookies): Reverse list returned by
`mail-fetch-field', so that cookies are set in the correct order.

* url-cookie.el (url-cookie-retrieve, url-cookie-host-can-set-p):
Deal with wildcard dots in domain values.
2007-04-01 15:38:35 +00:00
Eli Zaretskii
fd1e2cdef8 Move url-http.el entry to lisp/url/ChangeLog. 2007-03-31 09:51:25 +00:00
Eli Zaretskii
8ae85a27e0 (url-http-mark-connection-as-busy, url-http-mark-connection-as-free): Clear
query-on-exit flag on idle connections.
2007-03-31 09:44:44 +00:00
Glenn Morris
5b87ad5540 Switch to standard GPL text for license. 2007-02-11 01:18:25 +00:00
Chong Yidong
b3cd7f6176 (url-http-connection-opened): New variable.
(url-http): Initialize it.
(url-http-async-sentinel): Don't try changing sentinels.
Run url-http-end-of-document-sentinel if necessary.
2007-02-04 00:20:59 +00:00
Juanma Barranquero
8f77631e60 *** empty log message *** 2007-01-29 17:12:38 +00:00
Juanma Barranquero
d7c2974dec (url-get-authentication): Fix typo in docstring. 2007-01-29 17:01:33 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Magnus Henoch
00d972ebb6 (url-retrieve-internal): Don't use `url-proxy-object'. 2007-01-14 23:17:59 +00:00
Magnus Henoch
c1e6d824ae (url-proxy-object): Remove.
(url-proxy): Don't use `url-proxy-object'.  Act according to type of
proxy (currently only HTTP supported).
2007-01-14 23:17:28 +00:00
Magnus Henoch
62bfb5bb98 (url-http-proxy): New variable.
(url-http-create-request): Use it.  Don't use `url-proxy-object'.
(url-http): Treat `url' argument as resource to download, and
dynamic variable `url-using-proxy' as proxy to use.  Set
`url-current-object' to actual URL, and `url-http-proxy' to proxy
used.
(url-http-handle-cookies): Assume that `url-current-object' does
not point to the proxy used.
(url-http-async-sentinel): Adapt error message.
2007-01-14 23:17:08 +00:00
Magnus Henoch
b8976ce04f *** empty log message *** 2006-12-17 17:00:18 +00:00
Glenn Morris
1513a14b51 Add a copyright notice, with years based on earliest date in this
file, combined with broadest subsequent set used for other url files.
2006-12-17 07:00:03 +00:00
Juanma Barranquero
28e86dc414 *** empty log message *** 2006-12-10 23:52:35 +00:00
Juanma Barranquero
0c852d6e9b (url-gateway-nslookup-program): Doc fix. 2006-12-10 23:44:43 +00:00
Magnus Henoch
b1249a9539 (url-retrieve-internal): Bind url-proxy-object to nil. 2006-12-08 00:39:01 +00:00
Magnus Henoch
9450f1246a (url-http-create-request): Remove url argument, use the buffer-local
variable `url-http-target-url' instead.  Both callers updated.
Simplify proxy handling.
(url-http): Don't make proxy-object buffer local.
2006-12-08 00:38:47 +00:00
Magnus Henoch
3a15c71bb8 (url-proxy-object): New variable.
(url-proxy): Bind it instead of `proxy-object'.
2006-12-08 00:38:15 +00:00
Magnus Henoch
b9b172ace7 (url-http): Define url-http-response-version.
(url-http-parse-response): Set it.
(url-http-parse-headers): Use it to determine keep-alive behavior.
2006-11-26 13:22:52 +00:00
Magnus Henoch
57babe1716 (url-http-wait-for-headers-change-function): Use `when' instead of
`if' when possible.
2006-11-26 12:50:15 +00:00
Magnus Henoch
48d2bac451 (url-display-percentage): Only show a message if `url-show-status' is non-nil. 2006-11-23 08:42:06 +00:00
Magnus Henoch
f0d64cfca0 (url-http-content-length-after-change-function): Use `url-lazy-message'. 2006-11-23 08:40:06 +00:00
Juanma Barranquero
1ac3c9101d *** empty log message *** 2006-11-16 00:58:47 +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
d58fae84a6 (url-generic-parse-url): Use with-temp-buffer. 2006-11-15 23:14:49 +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
Chong Yidong
8529c21d8c * url-http.el (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:08:20 +00:00
Juanma Barranquero
33462dfacd Add "add-log-time-zone-rule: t" to Local Variables section. 2006-11-10 00:21:57 +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
947612be2c (url-retrieve-synchronously): Allow quitting when inhibit-quit is t. 2006-11-08 00:13:00 +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
080234b693 (url-open-stream): Really use asynchronous connections (accidentally
disabled during debugging).
2006-10-29 21:00:50 +00:00
Magnus Henoch
ced20bfb68 (url-http-parse-headers): Fix misplaced paren. 2006-10-28 14:51:40 +00:00
Chong Yidong
1b244f6177 * url.el (url-retrieve): Minor doc clarification. 2006-10-27 14:46:59 +00:00