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
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
Kim F. Storm
4169c18629
*** empty log message ***
2006-10-09 20:51:00 +00:00
Magnus Henoch
f6fb70fc69
(url-generic-parse-url): Handle URLs with empty path component and
...
non-empty query component. Untangle path, query and fragment parsing
code. Add references to RFC 3986 in comments.
(url-recreate-url-attributes): Start query string with "?", not ";".
2006-10-09 20:10:13 +00:00
Stefan Monnier
5e04776440
(url-dav-file-attributes): Simplify.
2006-09-20 17:35:21 +00:00
Stefan Monnier
162fbe11f5
(url-http-head-file-attributes): Add device "info".
2006-09-20 17:35:13 +00:00
Miles Bader
f316efd978
lisp/url/url-methods.el: Fix format error when http_proxy is empty string
...
2006-09-18 Michael Olson <mwolson@gnu.org>
* url-methods.el (url-scheme-register-proxy): Handle case where
getenv returns an empty string for http_proxy. This prevents an
error when calling `format' later on.
--This line, and those below, will be ignored--
Files to commit:
lisp/url/ChangeLog
lisp/url/url-methods.el
This list might be incomplete or outdated if editing the log
message was not invoked from an up-to-date changes buffer!
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-441
Creator: Michael Olson <mwolson@gnu.org>
2006-09-18 14:16:07 +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
Stefan Monnier
fb7dc310ed
(url-recreate-url-attributes): New function, code moved from `url-recreate-url'.
...
(url-recreate-url): Use it. Put the `url-target' at the end of the URL.
2006-09-01 02:31:24 +00:00
Stefan Monnier
7660c02fc5
(url-cookie-write-file): Really don't use versioned backups.
2006-08-29 14:00:27 +00:00