Changes that bring CLASH up to extended HTTP/1.0 support:
Added response-initargs and entity-initargs fields to the clash-error conditions, so that signallers can return additional information to the client regarding errors.
This commit is contained in:
@ -31,7 +31,11 @@
|
|||||||
:documentation
|
:documentation
|
||||||
#+NIL
|
#+NIL
|
||||||
"HTTP status code that might be returned to the client, if
|
"HTTP status code that might be returned to the client, if
|
||||||
this makes sense."))
|
this makes sense.")
|
||||||
|
(response-initargs :initarg :response-initargs :initform nil
|
||||||
|
:reader clash-error-response-initargs)
|
||||||
|
(entity-initargs :initarg :entity-initargs :initform nil
|
||||||
|
:reader clash-error-entity-initargs))
|
||||||
(:report report-clash-error))
|
(:report report-clash-error))
|
||||||
|
|
||||||
(define-condition simple-clash-error (simple-condition clash-error)
|
(define-condition simple-clash-error (simple-condition clash-error)
|
||||||
|
|||||||
Reference in New Issue
Block a user