Althttpd

Check-in [9823bf98a0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add woff/woff2 mimetypes.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 9823bf98a0a659d14079db2ab23662542a9a19f711f21ea0097d58289cda7a48
User & Date: stephan 2025-04-28 10:57:08.742
Context
2025-04-28
10:57
Add woff/woff2 mimetypes. ... (Leaf check-in: 9823bf98a0 user: stephan tags: trunk)
10:53
Add mimetype flags which say to elide the charset from the response Content-Type to all mimetypes which are known to be binary. Probably many of the unmodified mimetypes refer to binary formats, but only those known by me to be binary were modified. ... (check-in: c0759d91c6 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to althttpd.c.
2244
2245
2246
2247
2248
2249
2250


2251
2252
2253
2254
2255
2256
2257
  { "wasm",       4, 0x03, "application/wasm"                 },
  { "wav",        3, 0x02, "audio/x-wav"                      },
  { "wax",        3, 0x02, "audio/x-ms-wax"                   },
  { "wiki",       4, 0x00, "application/x-fossil-wiki"        },
  { "wma",        3, 0x02, "audio/x-ms-wma"                   },
  { "wmv",        3, 0x02, "video/x-ms-wmv"                   },
  { "wmx",        3, 0x02, "video/x-ms-wmx"                   },


  { "wrl",        3, 0x00, "model/vrml"                       },
  { "wvx",        3, 0x02, "video/x-ms-wvx"                   },
  { "xbm",        3, 0x00, "image/x-xbitmap"                  },
  { "xhtml",      5, 0x00, "application/xhtml+xml"            },
  { "xlc",        3, 0x02, "application/vnd.ms-excel"         },
  { "xll",        3, 0x02, "application/vnd.ms-excel"         },
  { "xlm",        3, 0x02, "application/vnd.ms-excel"         },







>
>







2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
  { "wasm",       4, 0x03, "application/wasm"                 },
  { "wav",        3, 0x02, "audio/x-wav"                      },
  { "wax",        3, 0x02, "audio/x-ms-wax"                   },
  { "wiki",       4, 0x00, "application/x-fossil-wiki"        },
  { "wma",        3, 0x02, "audio/x-ms-wma"                   },
  { "wmv",        3, 0x02, "video/x-ms-wmv"                   },
  { "wmx",        3, 0x02, "video/x-ms-wmx"                   },
  { "woff",       4, 0x02, "font/woff"                        },
  { "woff2",      5, 0x02, "font/woff2"                       },
  { "wrl",        3, 0x00, "model/vrml"                       },
  { "wvx",        3, 0x02, "video/x-ms-wvx"                   },
  { "xbm",        3, 0x00, "image/x-xbitmap"                  },
  { "xhtml",      5, 0x00, "application/xhtml+xml"            },
  { "xlc",        3, 0x02, "application/vnd.ms-excel"         },
  { "xll",        3, 0x02, "application/vnd.ms-excel"         },
  { "xlm",        3, 0x02, "application/vnd.ms-excel"         },