Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Make export use text plain + utf8 content type header.

Kishore Nallane91073c1a83f
diff --git a/src/core_api.cpp b/src/core_api.cpp
index 61fd894d..6b9534e9 100644
--- a/src/core_api.cpp
+++ b/src/core_api.cpp
@@ -774,7 +774,7 @@ bool get_export_documents(const std::shared_ptr<http_req>& req, const std::share
}
}
- res->content_type_header = "application/octet-stream";
+ res->content_type_header = "text/plain; charset=utf8";
res->status_code = 200;
stream_response(req, res);