[drakma-devel] Status text from a requst

H Duerer h.duerer at gmail.com
Wed Jun 27 11:27:18 UTC 2007


Hi,

we have a web server giving Json responses.  For proper failures it returns
a non-200 status code and a failure description in the status message (e.g.
the status line reads "HTTP/1.0 400 Empty method name".  AFAICS this status
message is not passed through by Drakma's http-request.

I locally made the attached changes (doing so, I found that read-status-line
added the leading separating whitespace to its third value; I fixed that as
well).  Any chance of having this or some other means to get to the message
in the official code?

    Holger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/drakma-devel/attachments/20070627/82b76958/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drakma.diff
Type: text/x-diff
Size: 4037 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/drakma-devel/attachments/20070627/82b76958/attachment.diff>


More information about the Drakma-devel mailing list