Order of the Butterfly
Posts: 450 from 2014/6/11
From: Germany
Released
v0.7 with bunch of changes, i.e. TLS support built-in (based on AmiSSL). MorphOS build uses wide-characters by default.
Common Lisp "Drakma" HTTP client now works with TLS (note this requires my "usocket" and "trivial-features" cloned to "PROGDIR:quicklisp/local-projects" folder, until those forks were submitted/accepted upstream).
Code:
COMMON-LISP-USER> (progn
> (require "asdf")
> (load "~/quicklisp/setup.lisp")
> (load "lib/quicklisp-compat.lisp"))
T
COMMON-LISP-USER> (ql:quickload :drakma)
To load "drakma":
Load 1 ASDF system:
drakma
; Loading "drakma"
(:DRAKMA)
COMMON-LISP-USER> (setf drakma:*header-stream* *standard-output*)
#<CONSOLE-OUTPUT-STREAM>
COMMON-LISP-USER> (drakma:http-request "https://aminet.net")
GET / HTTP/1.1
Host: aminet.net
User-Agent: Drakma/2.0.10 (CL-Amiga 0.7.0; MorphOS; http://weitz.de/drakma/)
Accept: */*
Connection: close
HTTP/1.1 200 OK
Server: nginx/1.24.0 (Ubuntu)
Date: Sun, 16 Aug 2026 12:14:02 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 74611
Connection: close
Vary: Accept-Encoding
X-AN-Backend-Host: main-aminet;nginx
Cache-Control: public
X-Varnish: 5592974 5592501
Age: 495
Via: 1.1 varnish (Varnish/7.1)
Accept-Ranges: bytes
"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">n<html><head><title>Aminet - Latest packages, last 14 days</title>n
..."