diff --git a/doc/index.html b/doc/index.html index 1474aae..3e3057e 100755 --- a/doc/index.html +++ b/doc/index.html @@ -871,7 +871,9 @@ use chunked encoding to send the content body. Note that this will not work with some older web servers.
-A non-NIL
content-length
argument
+When content
is
+not :CONTINUATION
, a
+non-NIL
content-length
argument
means that Drakma must build the request body in RAM and
compute the content length even if it would have otherwise used
chunked encoding - for example in the case of file uploads. A special
diff --git a/request.lisp b/request.lisp
index f56a113..fac9cb1 100755
--- a/request.lisp
+++ b/request.lisp
@@ -386,8 +386,6 @@ LispWorks 5.0 or higher."
(error "Don't know how to handle scheme ~S." (uri-scheme uri)))
(when (and close keep-alive)
(error "CLOSE and KEEP-ALIVE must not be both true."))
- (when (and (eq content :continuation) content-length)
- (error "CONTENT-LENGTH must be NIL if CONTENT is :CONTINUATION."))
(when (and form-data (not (eq method :post)))
(error "FORM-DATA makes only sense with POST requests."))
;; convert PROXY argument to canonical form