Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/url/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:21 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/url/url-http.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\310\311\312\"\207" [require url-gw url-util url-parse url-cookie mail-parse url-auth url autoload url-cache-create-filename "url-cache"] 3) #@20 Default HTTP port. (defconst url-http-default-port 80 (#$ . 799)) #@35 HTTP retrievals are asynchronous. (defconst url-http-asynchronous-p t (#$ . 871)) (defalias 'url-http-expand-file-name 'url-default-expander) (defvar url-http-real-basic-auth-storage nil) (defvar url-http-proxy-basic-auth-storage nil) #@47 A hash table of all open network connections. (defvar url-http-open-connections (make-hash-table :test 'equal :size 17) (#$ . 1112)) #@241 What version of HTTP we advertise, as a string. Valid values are 1.1 and 1.0. This is only useful when debugging the HTTP subsystem. Setting this to 1.0 will tell servers not to send chunked encoding, and other HTTP/1.1 specific features. (defvar url-http-version "1.1" (#$ . 1252)) #@207 Whether to use a single TCP connection multiple times in HTTP. This is only useful when debugging the HTTP subsystem. Setting to nil will explicitly close the connection to the server after every request. (defvar url-http-attempt-keepalives t (#$ . 1543)) #@39 The HTTP return codes and their text. (defconst url-http-codes '((100 continue "Continue with request") (101 switching-protocols "Switching protocols") (102 processing "Processing (Added by DAV)") (200 OK "OK") (201 created "Created") (202 accepted "Accepted") (203 non-authoritative "Non-authoritative information") (204 no-content "No content") (205 reset-content "Reset content") (206 partial-content "Partial content") (207 multi-status "Multi-status (Added by DAV)") (300 multiple-choices "Multiple choices") (301 moved-permanently "Moved permanently") (302 found "Found") (303 see-other "See other") (304 not-modified "Not modified") (305 use-proxy "Use proxy") (307 temporary-redirect "Temporary redirect") (400 bad-request "Bad Request") (401 unauthorized "Unauthorized") (402 payment-required "Payment required") (403 forbidden "Forbidden") (404 not-found "Not found") (405 method-not-allowed "Method not allowed") (406 not-acceptable "Not acceptable") (407 proxy-authentication-required "Proxy authentication required") (408 request-timeout "Request time-out") (409 conflict "Conflict") (410 gone "Gone") (411 length-required "Length required") (412 precondition-failed "Precondition failed") (413 request-entity-too-large "Request entity too large") (414 request-uri-too-large "Request-URI too large") (415 unsupported-media-type "Unsupported media type") (416 requested-range-not-satisfiable "Requested range not satisfiable") (417 expectation-failed "Expectation failed") (422 unprocessable-entity "Unprocessable Entity (Added by DAV)") (423 locked "Locked") (424 failed-Dependency "Failed Dependency") (500 internal-server-error "Internal server error") (501 not-implemented "Not implemented") (502 bad-gateway "Bad gateway") (503 service-unavailable "Service unavailable") (504 gateway-timeout "Gateway time-out") (505 http-version-not-supported "HTTP version not supported") (507 insufficient-storage "Insufficient storage")) (#$ . 1806)) (defalias 'url-http-debug #[(&rest args) "\203 \303p!\211\203 \304 \305\"\210\306 \305\"\210\307\310!\210)\311\312\313\n#\207" [quit-flag proc args get-buffer-process set-process-sentinel nil set-process-filter error "Transfer interrupted!" apply url-debug http] 5]) (put 'url-http-debug 'byte-optimizer 'byte-compile-inline-expand) (defalias 'url-http-mark-connection-as-busy #[(host port proc) "\306 \nF\f\203! \307p!\211\203 \310\n\311\"\210\312\n\311\"\210\313\314!\210)\315\316\317#)\210\320\n\321\"\210\322 B\323\n\324 B \"\" #\210\n\207" [host port proc args quit-flag url-http-open-connections "Marking connection as busy: %s:%d %S" get-buffer-process set-process-sentinel nil set-process-filter error "Transfer interrupted!" apply url-debug http set-process-query-on-exit-flag t puthash delq gethash] 7]) (defalias 'url-http-mark-connection-as-free #[(host port proc) "\306 \nF\f\203! \307p!\211\203 \310\n\311\"\210\312\n\311\"\210\313\314!\210)\315\316\317#)\210\320\n!\321>\203N \322\n\311\"\210\310\n\323\"\210\324\n\311\"\210\325 B\n\326 B \"B #\210\311\207" [host port proc args quit-flag url-http-open-connections "Marking connection as free: %s:%d %S" get-buffer-process set-process-sentinel nil set-process-filter error "Transfer interrupted!" apply url-debug http process-status (open run connect) set-process-buffer url-http-idle-sentinel set-process-query-on-exit-flag puthash gethash] 6]) (defalias 'url-http-find-free-connection #[(host port) "\306 B\n\"\307\f\203\210 \204\210 \310\f@!\311>\204P \312 \f@F\203@ \313p!\211 \203; \314 \307\"\210\315 \307\"\210\316\317!\210)\320\321\322 #)\210\323\f@\307\"\210\202 \f@\324 F\203x \313p!\211 \203s \314 \307\"\210\315 \307\"\210\316\317!\210)\320\321\322 #)\210\f\211A@\210\202 \203\272 \325 E\203\260 \313p!\211 \203\253 \314 \307\"\210\315 \307\"\210\316\317!\210)\320\321\322 #)\210\202\345 \326 E\203\336 \313p!\211 \203\331 \314 \307\"\210\315 \307\"\210\316\317!\210)\320\321\322 #)\210\327\326 #\210\204\330\331!!\332\216\333! $ \334 !\203\335 \307\"\210 +\205\336 #*\207" [host port url-http-open-connections connection conns args gethash nil process-status (run open connect) "Cleaning up dead process: %s:%d %S" get-buffer-process set-process-sentinel set-process-filter error "Transfer interrupted!" apply url-debug http url-http-idle-sentinel "Found existing connection: %s:%d %S" "Reusing existing connection: %s:%d" "Contacting host: %s:%d" url-lazy-message generate-new-buffer " *url-http-temp*" ((byte-code "\301!\203 \302\301!\303\"\210\304!\207" [buf get-buffer-process set-process-query-on-exit-flag nil kill-buffer] 3)) url-open-stream processp set-process-buffer url-http-mark-connection-as-busy quit-flag proc buf] 5]) (defalias 'url-http-user-agent-string #[nil "\304=\204 <\203 \305>\203 \306\207\307\310 \203! \311\n\312R\202\"