Jim Crate 4 роки тому
батько
коміт
fbc29f476a
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      CHANGELOG.md

+ 2 - 0
CHANGELOG.md

@@ -22,6 +22,8 @@ All notable changes to this project will be documented in this file. Changes not
 
 - Set `Content-Type` to HttpBody and Text HttpResponse. ([#474](https://github.com/httpswift/swifter/pull/474)) by [@mtgto](https://github.com/mtgto)
 
+- The `shareFile` function now sets `Content-Type` and `Content-Length` headers like `shareFilesFromDirectory. ([#493](https://github.com/httpswift/swifter/pull/493)) by [@jcrate](https://github.com/jcrate)
+
 ## Fixed
 
 * Fix misspell `serialise`. ([#473](https://github.com/httpswift/swifter/pull/473)) by [@mtgto](https://github.com/mtgto)