Devon Sean McCullough
179f69112d
Bugfix for url-http-find-free-connection.
...
* lisp/url/url-http.el (url-http-find-free-connection): Don't pass a nil
argument to url-http-mark-connection-as-busy.
Fixes: debbugs:10891
2012-03-11 17:43:01 +08:00
Lars Ingebrigtsen
3647f557cf
Fix typo in last checkin.
2012-02-10 18:30:39 +01:00
Lars Ingebrigtsen
3b8eb822d9
Cookie/redirection URL fixup
...
(url-http-parse-headers): When redirecting, pass on
the `inhibit-cookie' parameter.
2012-02-10 18:25:31 +01:00
Andreas Schwab
d7c5e1622f
* url-http.el (url-http-clean-headers): Return the number of
...
removed characters.
(url-http-wait-for-headers-change-function): Adjust end position
after cleaning the headers. (Bug#10768)
2012-02-10 12:36:42 +01:00
Lars Ingebrigtsen
aacaa41911
Allow specifying whether to inhibit cookies on a per-URL basis
...
* url-http.el (url-http-create-request): Don't send cookies unless
requested.
(url-http-parse-headers): Don't store cookies unless requested.
* url.el (url-retrieve): Ditto
* url-queue.el (url-queue-retrieve): Take an optional
`inhibit-cookies' parameter.
* url-parse.el (url): Add the `use-cookies' slot to the URL struct
to be able to keep track of whether to do cookies or not on a
per-URL basis.
2012-02-08 01:04:42 +01:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Paul Eggert
fac916bfd7
Spelling fixes.
2011-12-14 13:05:20 -08:00
Paul Eggert
5396468298
Spelling fixes.
2011-11-19 01:18:31 -08:00
Paul Eggert
da6062e6ea
Spelling fixes.
2011-11-14 23:55:13 -08:00
Lars Magne Ingebrigtsen
122d94635f
If the server hangs up while we're talking to it, just `message' the error instead of throwing an error.
2011-11-14 17:09:13 +01:00
Paul Eggert
fe3c566957
Spelling fixes.
2011-11-08 22:10:51 -08:00
Christopher J. White
b02ba905b4
* url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).
2011-09-24 18:58:40 -04:00
Lars Magne Ingebrigtsen
ad87170ff3
Fix URL connection failing handling.
...
* url-http.el (url-http-find-free-connection): If there was an
error on connect, make sure the user isn't bothered with
irrelevant questions.
2011-09-13 19:18:08 +02:00
Chong Yidong
98fdd2b837
* url-http.el (url-http-parse-headers): For HTTP 301/302/307, don't convert to a GET request.
...
Fixes: debbugs:701
2011-08-07 13:48:11 -04:00
Chris Newton
b0c9af93ab
Copy over `url-show-status' to the async buffer
...
* url-http.el (url-http): Copy over `url-show-status' to the async
buffer so that `url-display-percentage' does the right thing
(bug#4680).
2011-07-13 16:12:06 +02:00
Nicolas Avrutin
3487ca85e8
* url-http.el (url-http-create-request): Remove double carriage
...
return and newline.
Fixes: debbugs:8931
2011-07-03 18:03:47 +02:00
Lars Magne Ingebrigtsen
9aec558af4
* url-http.el (url-http-wait-for-headers-change-function): Remove
...
pointless "HTTP/0.9 How I hate thee!" message.
Fixes: debbugs:6735
2011-07-03 15:08:40 +02:00
Lars Magne Ingebrigtsen
10472dd0d6
(url-http-wait-for-headers-change-function): Protect against malformed headerless responses from servers.
2011-04-16 15:59:54 +02:00
Lars Ingebrigtsen
b301d17489
(url-http-wait-for-headers-change-function): Don't move if the callback function has moved point.
2011-02-02 22:22:07 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Lars Magne Ingebrigtsen
b0e0b216e5
url-http.el (url-http-end-of-document-sentinel): Protect against the
...
process buffer being killed.
2010-10-07 13:40:42 +02:00
Lars Magne Ingebrigtsen
d23832a2cc
(url-http-wait-for-headers-change-function): Revert previous
...
change. It lead to really slow loads.
2010-10-04 21:34:35 +02:00
Lars Magne Ingebrigtsen
697ebdb06b
* url-http.el (url-http-wait-for-headers-change-function): Protect
...
against url-http-response-status for degenerate documents.
2010-10-04 21:05:53 +02:00
Glenn Morris
12421f1c89
url-http.el comment.
2010-10-02 18:30:51 -07:00
Lars Magne Ingebrigtsen
08b8ba9fae
Modify url-retrieve and related functions and structures to respect a
...
`silent' flag to signal that the operation should be silent.
2010-10-02 04:04:20 +02:00
Lars Magne Ingebrigtsen
6ca26f1d7f
(url-http-async-sentinel): Check that the buffer is still alive before
...
switching to it.
2010-10-01 16:05:25 +02:00
Juanma Barranquero
0ed082fedf
Merge from emacs-23
2010-07-27 04:10:05 +02:00
Michael Albinus
c48763bb79
* url-http (url-http-parse-headers): Disable file name handlers at
...
all (not only Tramp). (Bug#6717)
2010-07-26 15:19:32 +02:00
Michael Albinus
4ac3a65cf1
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
2010-07-25 13:36:02 +02:00
Mark A. Hershberger
e4f6153f96
2010-07-01 Mark A. Hershberger <mah@everybody.org>
...
* url-http.el (url-http-create-request): Add a CRLF on the end so
that POSTs with content to https urls work. See
<https://bugs.launchpad.net/mediawiki-el/+bug/540759 >
Prior to this, the following request would not terminate:
(let ((url-request-method "POST")
(url-request-data "action=login"))
(url-retrieve-synchronously "https://example.org/wiki/api.php "))
2010-07-01 14:02:43 -04:00
Ted Zlatanov
89734fb6f6
Fix wrong variable name.
...
(url-http-parse-headers): Fix wrong variable name.
2010-03-24 20:14:42 -05:00
Ted Zlatanov
1e9d758c2f
Add a list of HTTP status code symbols and their text, mapped by number.
...
* url-http.el (url-http-codes): New variable to hold a mapping of
HTTP status codes' numbers, their symbolic name, and their text.
(url-http-parse-headers): Use it, leaving the original numeric
code in a comment.
2010-03-24 04:30:28 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
c98f55cad9
* url-http.el (url-http-handle-authentication): Use proxy server,
...
if any, for authentication (Bug#4883).
2009-11-08 05:32:48 +00:00
Glenn Morris
f9c9a2395c
(url-dav-file-attributes): Fix declaration.
2009-10-01 02:06:55 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
b7270504e4
Comment.
2008-08-30 20:07:58 +00:00
Glenn Morris
e77e9cf409
(url-https-expand-file-name): Resolve directly to url-default-expander
...
rather than via another alias.
(url-default-expander): Autoload an autoload. (Bug#825).
2008-08-30 02:22:47 +00:00
Juanma Barranquero
d1ce47b068
Typo and docstring fixes.
...
* url.el (url-do-setup):
* url-dired.el (url-dired-minor-mode):
* url-file.el (url-file-find-possibly-compressed-file):
* url-gw.el (url-gateway-broken-resolution):
* url-handlers.el (url-handler-regexp):
* url-imap.el (url-imap-default-port):
* url-methods.el (url-scheme-get-property): Fix typos in docstrings.
* url-auth.el (url-basic-auth-storage, url-digest-auth):
Fix typos in docstrings.
(url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
* url-cache.el (url-cache-prepare): Doc fix.
(url-cache-create-filename-human-readable, url-cache-extract):
Fix typos in docstrings.
* url-dav.el (url-intersection, url-dav-iso8601-regexp)
(url-dav-delete-something): Fix typos in docstrings.
(url-dav-http-success-p, url-dav-file-name-all-completions)
(url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
* url-http.el (url-http-idle-sentinel): Doc fix.
* url-irc.el (url-irc-default-port): Fix typo in docstring.
(url-irc-function): Doc fix.
* url-util.el (url-get-url-filename-chars, url-unhex-string):
Fix typos in docstrings.
(url-file-extension): Doc fix.
* url-vars.el (url-current-object, url-current-mime-headers)
(url-privacy-level, url-mail-command, url-mime-language-string):
Fix typos in docstrings.
(url-honor-refresh-requests): Reflow docstring.
(url-using-proxy): Doc fix.
2008-07-02 11:14:38 +00:00
Glenn Morris
4936186e9c
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:29:13 +00:00
Magnus Henoch
84f089d3fb
(url-http-chunked-encoding-after-change-function):
...
Remove superfluous CRLF at end of file. (bug #42 )
2008-03-09 20:16:12 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
12dc447f2a
Add 2008 to copyright years.
2008-01-07 02:23:04 +00:00
Dan Nicolaescu
153ef845b8
* progmodes/idlw-help.el: Require browse-url unconditionally, it
...
is available by default.
(idlwave-help-browse-url-available): Change default to t.
* emulation/edt.el (defgroup, defcustom): Remove definition.
(eval-when-compile): Remove.
(c-mark-function):
* textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
* textmodes/fill.el (comment-search-forward)
(comment-string-strip):
* progmodes/prolog.el (comint-mode, comint-send-string)
(comint-send-region, comint-send-eof):
* progmodes/dcl-mode.el (imenu-default-create-index-function):
* emulation/viper-util.el (viper-forward-Word):
* emulation/vi.el (c-mark-function):
* emulation/edt-vt100.el (vt100-wide-mode):
* emacs-lisp/timer.el (diary-entry-time): Declare as functions.
* url-mailto.el (mail-send-and-exit):
* url-http.el (url-dav-file-attributes):
* url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
Declare as functions.
* url-privacy.el (url-device-type): Define unconditionally.
2007-11-20 00:57:10 +00:00
Glenn Morris
8a089270b3
Diane Murray <disumu at x3y2z1.net>
...
(url-http-parse-headers): Bind the current buffer rather than calling
`url-mark-buffer-as-dead' with `current-buffer', so that the correct
buffer is killed if `url-retrieve-synchronously' gets redirected to a
new URL.
2007-09-03 19:29:29 +00:00
Glenn Morris
72f252993b
Diane Murray <disumu at x3y2z1.net>
...
(url-http-parse-headers): Bind the current buffer rather than calling
`url-mark-buffer-as-dead' with `current-buffer', so that the correct
buffer is killed if `url-retrieve-synchronously' gets redirected to a
new URL.
2007-09-03 19:28:23 +00:00