Hello.

When using HTTP-REQUEST for non text content types, we
have following error in CLISP:

  SYSTEM::STORE: #\< does not fit into #(0 0 0 0 0 0 0 0 0 0 ...), bad type

  Backtrace:
    0: INVOKE-DEBUGGER
    1: SYSTEM::STORE
    2: EXT:READ-CHAR-SEQUENCE
    3: READ-SEQUENCE
    4: DRAKMA::READ-BODY
    5: DRAKMA::HTTP-REQUEST-FINISH-REQUEST
    6: unwind-protect frame
    7: compiled block frame for HTTP-REQUEST
    8: HTTP-REQUEST

This is because CLISP doesn't support READ-SEQUENCE on
a stream having STREAM-ELEMENT-TYPE == 'CHARACTER.

The patch attached fixes this problem by explicit change
of stream element type in the DRAKMA::READ-BODY function.

Test URLs:
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/public/basic
http://www.lisperati.com/lisplogo_alien_128.png

Best regards,
-- Anton

Attachment: clisp-read-sequence-patch.diff
Description: Binary data

_______________________________________________
drakma-devel mailing list
drakma-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel

Reply via email to