[ANN] GemiNaut 0.8.4 released

On 11-Jun-2020 17:40, Petite Abeille wrote:
> On Jun 11, 2020, at 17:52, Luke Emmet <luke at marmaladefoo.com> wrote:
>> - audio (mp3, ogg, wav...)
>> - images (png jpg svg ...)
>> - documents (pdf html doc...)
>> - binary (gz tar zip...)
>> - video (wmv mov mp4...)
> There are 10 main media types defined [1]:
>
> ? application
> ? audio
> <snip>
>
> For the ones you don't identify, application/octet-stream is a good 
default (i.e. binary) [2].
>
> There are 3 levels of heuristic you can apply:
>
> (1) last path segment extension
> (2) response content type
> (3) content signature [3]
Thanks for the links. At the stage I am providing the UI hints is when 
rendering the page, before the user has clicked on anything, so I cannot 
get the content type or content signature. But once you start getting 
the content you definitely have more to go on, when deciding what to do.

My main drive at this stage was to cover the fat end of the extensions 
actually in use, as helpfully detailed by GUS:

gemini://gus.guru/statistics

Best wishes

  - Luke

---

Previous in thread (4 of 12): 🗣️ Petite Abeille (petite.abeille (a) gmail.com)

Next in thread (6 of 12): 🗣️ Petite Abeille (petite.abeille (a) gmail.com)

View entire thread.