v4.20.1

punkpeye/fastmcpv4.20.1Sep 4, 2026by github-actions[bot]

AI Summary

Fixed a bug in the HTTP module where the WWW-Authenticate header was not emitted correctly during authentication failures.

Key Highlights

  • HTTP authentication emit WWW-Authenticate on 401

New Features

  • WWW-Authenticate emission on 401 when authenticate() fails without oauth

Full Release Notes

## [4.20.1](https://github.com/punkpeye/fastmcp/compare/v4.20.0...v4.20.1) (2026-09-04)


### Bug Fixes

* **http:** emit WWW-Authenticate on 401 when authenticate() fails without oauth ([#358](https://github.com/punkpeye/fastmcp/issues/358)) ([55bb3c0](https://github.com/punkpeye/fastmcp/commit/55bb3c0dfb75a6b35ff809946b32910bb81c9d44))