Scieneer Common Lisp 1.3.9 online documentation

http:response-body-string response &key external-format errorp[Function]

Return the response body content as a string if possible, decoding the transfer encoding and content encodings and converting the body into a string. Only gzip transfer and content encoding are currently supported. The request headers may need to be updated to reflect the decoding, and the modified headers are returned as the second argument. If the content type is not text then the external-format argument must be supplied.

If an unrecognized encoding or character set is encountered, or an error occurs decoding the content or translating the characters then if errorp is false then the original body and header are returned otherwise an error is signaled.