Changeset 3217
- Timestamp:
- 05/30/08 13:32:51 (7 months ago)
- Files:
-
- trunk/thirdparty/drakma/doc/index.html (modified) (2 diffs)
- trunk/thirdparty/drakma/request.lisp (modified) (4 diffs)
- trunk/thirdparty/drakma/util.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/thirdparty/drakma/doc/index.html
r3187 r3217 982 982 see <a href="#*text-content-types*"><code>*TEXT-CONTENT-TYPES*</code></a> 983 983 and <a href="#*body-format-function*"><code>*BODY-FORMAT-FUNCTION*</code></a>.) 984 If the body is empty, <code>NIL</code> will be returned. 984 985 <p> 985 986 If <a class=none … … 1471 1472 </p> 1472 1473 <p> 1473 $Header: /usr/local/cvsrep/drakma/doc/index.html,v 1.8 7 2008/05/24 03:21:24edi Exp $1474 $Header: /usr/local/cvsrep/drakma/doc/index.html,v 1.88 2008/05/30 09:28:20 edi Exp $ 1474 1475 <p><a href="http://weitz.de/index.html">BACK TO MY HOMEPAGE</a> 1475 1476 trunk/thirdparty/drakma/request.lisp
r3187 r3217 1 1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*- 2 ;;; $Header: /usr/local/cvsrep/drakma/request.lisp,v 1.5 7 2008/05/24 03:21:22edi Exp $2 ;;; $Header: /usr/local/cvsrep/drakma/request.lisp,v 1.58 2008/05/30 11:30:45 edi Exp $ 3 3 4 4 ;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved. … … 330 330 Drakma will populate the `Referer' header with the URI that 331 331 triggered the redirection, overwriting an existing `Referer' 332 header (in ADDITIONAL-HEADERS) if necessary.332 header \(in ADDITIONAL-HEADERS) if necessary. 333 333 334 334 If KEEP-ALIVE is T, the server will be asked to keep the … … 339 339 KEEP-ALIVE and CLOSE are obviously mutually exclusive. 340 340 341 If the message body sent by the server has a text content type, 342 Drakma will try to return it as a Lisp string. It'll first check 343 if the `Content-Type' header denotes an encoding to be used, or 344 otherwise it will use the EXTERNAL-FORMAT-IN argument. The body 345 is decoded using FLEXI-STREAMS. If FLEXI-STREAMS doesn't know 346 the external format, the body is returned as an array of octets. 341 If the message body sent by the server has a text content type, Drakma 342 will try to return it as a Lisp string. It'll first check if the 343 `Content-Type' header denotes an encoding to be used, or otherwise it 344 will use the EXTERNAL-FORMAT-IN argument. The body is decoded using 345 FLEXI-STREAMS. If FLEXI-STREAMS doesn't know the external format, the 346 body is returned as an array of octets. If the body is empty, Drakma 347 will return NIL. 347 348 348 349 If the message body doesn't have a text content type or if … … 512 513 (when cookie-jar 513 514 ;; write all cookies in one fell swoop, so even Sun's 514 ;; web server has a chan ge to get it515 ;; web server has a chance to get it 515 516 (when-let (cookies (loop for cookie in (cookie-jar-cookies cookie-jar) 516 517 when (send-cookie-p cookie uri force-ssl) trunk/thirdparty/drakma/util.lisp
r3187 r3217 1 1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*- 2 ;;; $Header: /usr/local/cvsrep/drakma/util.lisp,v 1.3 5 2008/01/14 01:57:02edi Exp $2 ;;; $Header: /usr/local/cvsrep/drakma/util.lisp,v 1.36 2008/05/30 11:30:45 edi Exp $ 3 3 4 4 ;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved. … … 275 275 (string-equal subtype candidate-subtype))))) 276 276 277 (defun as-keyword (string)278 "Converts the string STRING to a keyword where all characters are279 uppercase or lowercase, taking into account the current readtable280 case."281 (intern (funcall282 (if (eq (readtable-case *readtable*) :upcase)283 #'string-upcase284 #'string-downcase)285 string)286 :keyword))287
