TowyTowy 651e30211c Fix: serve_resource/serve_folder ignore mimetypes and fallback_mimetype parameters
httputils._serve_traversable looked up the Content-Type in the
module-level MIMETYPES/FALLBACK_MIMETYPE constants instead of the
mimetypes/fallback_mimetype parameters that serve_resource() and
serve_folder() accept and pass through. The parameters exist since the
helper was extracted for use by web plugins (33fcda7c, "Extract
httputils.serve_folder"), and the sibling parameters path_prefix and
index_file are honored, but a custom web plugin passing its own
mimetype mapping (e.g. to serve .json, .ico or .mjs files with a
correct Content-Type) silently got the built-in mapping and
application/octet-stream fallback instead.

Use the parameters for the lookup. No behavior change for the built-in
web module, which relies on the defaults.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 12:10:37 +02:00
2021-12-14 00:25:31 +01:00
2021-12-14 00:25:31 +01:00
2022-07-02 23:03:19 +02:00
2026-04-02 23:43:35 +02:00
2022-07-02 23:03:19 +02:00
2025-03-14 21:32:38 +01:00
2025-04-23 21:50:59 +02:00
2024-08-27 17:04:15 +02:00
2025-06-29 00:47:26 -06:00
2026-01-05 07:28:24 +01:00
2026-07-12 08:02:43 +02:00

Radicale

Test Coverage Status

Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server, that:

  • Shares calendars and contact lists through CalDAV, CardDAV and HTTP.
  • Supports events, todos, journal entries and business cards.
  • Works out-of-the-box, no complicated setup or configuration required.
  • Can limit access by authentication.
  • Can secure connections with TLS.
  • Works with many CalDAV and CardDAV clients
  • Stores all data on the file system in a simple folder structure.
  • Can be extended with plugins.
  • Is GPLv3-licensed free software.

For the complete documentation, please visit Radicale master Documentation.

Additional hints can be found

Before reporting an issue, please check

Description
No description provided
Readme 5.9 MiB
Languages
Python 87.4%
JavaScript 9.8%
HTML 1.1%
CSS 0.9%
Perl 0.8%