summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Spelling fixes.Paul Eggert2011-11-081-1/+1
|
* * url-http.el (url-http-create-request): Avoid adding extra CRLF (Bug#8931).Christopher J. White2011-09-241-1/+3
|
* Fix URL connection failing handling.Lars Magne Ingebrigtsen2011-09-131-0/+4
| | | | | | * 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.
* * url-http.el (url-http-parse-headers): For HTTP 301/302/307, don't convert ↵Chong Yidong2011-08-071-10/+2
| | | | | | to a GET request. Fixes: debbugs:701
* Copy over `url-show-status' to the async bufferChris Newton2011-07-131-0/+2
| | | | | | * 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).
* * url-http.el (url-http-create-request): Remove double carriageNicolas Avrutin2011-07-031-1/+1
| | | | | | return and newline. Fixes: debbugs:8931
* * url-http.el (url-http-wait-for-headers-change-function): RemoveLars Magne Ingebrigtsen2011-07-031-13/+10
| | | | | | pointless "HTTP/0.9 How I hate thee!" message. Fixes: debbugs:6735
* (url-http-wait-for-headers-change-function): Protect against malformed ↵Lars Magne Ingebrigtsen2011-04-161-0/+4
| | | | headerless responses from servers.
* (url-http-wait-for-headers-change-function): Don't move if the callback ↵Lars Ingebrigtsen2011-02-021-6/+8
| | | | function has moved point.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Refill some copyright headers.Glenn Morris2011-01-151-2/+2
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-2/+2
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | url-http.el (url-http-end-of-document-sentinel): Protect against theLars Magne Ingebrigtsen2010-10-071-7/+8
| | | | | | | | process buffer being killed.
* | (url-http-wait-for-headers-change-function): Revert previousLars Magne Ingebrigtsen2010-10-041-2/+1
| | | | | | | | change. It lead to really slow loads.
* | * url-http.el (url-http-wait-for-headers-change-function): ProtectLars Magne Ingebrigtsen2010-10-041-1/+2
| | | | | | | | against url-http-response-status for degenerate documents.
* | url-http.el comment.Glenn Morris2010-10-021-2/+3
| |
* | Modify url-retrieve and related functions and structures to respect aLars Magne Ingebrigtsen2010-10-021-1/+2
| | | | | | | | `silent' flag to signal that the operation should be silent.
* | (url-http-async-sentinel): Check that the buffer is still alive beforeLars Magne Ingebrigtsen2010-10-011-14/+15
| | | | | | | | switching to it.
* | Merge from emacs-23Juanma Barranquero2010-07-271-1/+5
|\|
| * * url-http (url-http-parse-headers): Disable file name handlers atMichael Albinus2010-07-261-2/+3
| | | | | | | | all (not only Tramp). (Bug#6717)
| * * url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)Michael Albinus2010-07-251-1/+4
| |
* | 2010-07-01 Mark A. Hershberger <mah@everybody.org>Mark A. Hershberger2010-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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"))
* | Fix wrong variable name.Ted Zlatanov2010-03-241-1/+1
| | | | | | | | (url-http-parse-headers): Fix wrong variable name.
* | Add a list of HTTP status code symbols and their text, mapped by number.Ted Zlatanov2010-03-241-32/+83
|/ | | | | | | * 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.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * url-http.el (url-http-handle-authentication): Use proxy server,Chong Yidong2009-11-081-5/+10
| | | | if any, for authentication (Bug#4883).
* (url-dav-file-attributes): Fix declaration.Glenn Morris2009-10-011-3/+3
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Comment.Glenn Morris2008-08-301-0/+5
|
* (url-https-expand-file-name): Resolve directly to url-default-expanderGlenn Morris2008-08-301-2/+4
| | | | | rather than via another alias. (url-default-expander): Autoload an autoload. (Bug#825).
* Typo and docstring fixes.Juanma Barranquero2008-07-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-8/+6
|
* (url-http-chunked-encoding-after-change-function):Magnus Henoch2008-03-091-1/+5
| | | | Remove superfluous CRLF at end of file. (bug #42)
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
| * Diane Murray <disumu at x3y2z1.net>Glenn Morris2007-09-031-7/+8
| | | | | | | | | | | | | | (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.
* | * progmodes/idlw-help.el: Require browse-url unconditionally, itDan Nicolaescu2007-11-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Diane Murray <disumu at x3y2z1.net>Glenn Morris2007-09-031-7/+8
|/ | | | | | | (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.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (url-http-parse-headers): Stop after a set number of redirections.Chong Yidong2007-04-131-15/+37
| | | | Suggested by Diane Murray.
* (url-http-handle-cookies): Reverse list returned byChong Yidong2007-04-011-2/+2
| | | | `mail-fetch-field', so that cookies are set in the correct order.
* (url-http-mark-connection-as-busy, url-http-mark-connection-as-free): ClearEli Zaretskii2007-03-311-0/+2
| | | | query-on-exit flag on idle connections.
* (url-http-connection-opened): New variable.Chong Yidong2007-02-041-1/+6
| | | | | | (url-http): Initialize it. (url-http-async-sentinel): Don't try changing sentinels. Run url-http-end-of-document-sentinel if necessary.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (url-http-proxy): New variable.Magnus Henoch2007-01-141-18/+15
| | | | | | | | | | | (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.
* (url-http-create-request): Remove url argument, use the buffer-localMagnus Henoch2006-12-081-25/+23
| | | | | | variable `url-http-target-url' instead. Both callers updated. Simplify proxy handling. (url-http): Don't make proxy-object buffer local.
* (url-http): Define url-http-response-version.Magnus Henoch2006-11-261-4/+21
| | | | | (url-http-parse-response): Set it. (url-http-parse-headers): Use it to determine keep-alive behavior.
* (url-http-wait-for-headers-change-function): Use `when' instead ofMagnus Henoch2006-11-261-114/+112
| | | | `if' when possible.