mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 21:29:11 +00:00
fix: delete file request
This commit is contained in:
@@ -491,7 +491,7 @@ Use `BOUNDARY' to separate files. This is sent to Khoj server as a POST request.
|
||||
(file-name (encode-coding-string file-to-index 'utf-8)))
|
||||
(insert (format "--%s\r\n" boundary))
|
||||
(insert (format "Content-Disposition: form-data; name=\"files\"; filename=\"%s\"\r\n" file-name))
|
||||
(insert "Content-Type: %s\r\n\r\n" content-type)
|
||||
(insert (format "Content-Type: %s\r\n\r\n" content-type))
|
||||
(insert "")
|
||||
(insert "\r\n")))
|
||||
(insert (format "--%s--\r\n" boundary))
|
||||
|
||||
Reference in New Issue
Block a user