actix-web 发布版本: Actix web 0.7.19

Changes

Added

  • Add from_file and from_file_with_config to NamedFile to allow sending files without a known path. #670

  • Add insert and remove methods to HttpResponseBuilder

  • Add client HTTP Authentication methods .basic_auth() and .bearer_auth(). #540

  • Add support for PATCH HTTP method

Fixed

  • Ignored the If-Modified-Since if If-None-Match is specified. #680

  • Do not remove Content-Length on Body::Empty and insert zero value if it is missing for POST and PUT methods.

  • Fix preflight CORS header compliance; refactor previous patch (#603). #717

  • Fix never-ending HTTP2 request when response is empty (#709). #737

  • Fix client payload decompression #674