mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	fix(http): fix panic when sending document update without content type header
This commit is contained in:
		| @@ -535,7 +535,7 @@ impl DocumentsAggregator { | ||||
|             .headers() | ||||
|             .get(CONTENT_TYPE) | ||||
|             .map(|s| s.to_str().unwrap_or("unkown")) | ||||
|             .unwrap() | ||||
|             .unwrap_or("unkown") | ||||
|             .to_string(); | ||||
|         ret.content_types.insert(content_type); | ||||
|         ret.index_creation = index_creation; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user