Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions request.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ body using the boundary BOUNDARY."
"Sends carriage return and linefeed to STREAM."
(write-char #\Return stream)
(write-char #\Linefeed stream)))
(setf (flexi-stream-external-format stream) external-format-out)
(dolist (name/value parameters)
(destructuring-bind (name . value)
name/value
Expand All @@ -97,9 +98,7 @@ body using the boundary BOUNDARY."
(crlf)
(format stream "Content-Type: text/plain; charset=~a" external-format-out)
(crlf) (crlf)
(setf (flexi-stream-external-format stream) external-format-out)
(format stream "~A" value)
(setf (flexi-stream-external-format stream) +latin-1+))
(format stream "~A" value))
((null value)
(crlf))
((and (listp value)
Expand Down