<?xml version="1.0" encoding="UTF-8"?>
<post>
  <author>
    <name>Stefan Wintermeyer</name>
    <username>wintermeyer</username>
    <url>https://vutuv.de/wintermeyer</url>
  </author>
  <verified_author_links/>
  <images/>
  <fediverse_reply_count>1</fediverse_reply_count>
  <id>01a0ce10-b95e-793b-9272-bf2113586636</id>
  <fediverse_like_count>1</fediverse_like_count>
  <review/>
  <replies>
    <item>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0ceb1-b6bd-75e7-97c3-27943cf6a8e4</url>
      <published_on>2026-09-23</published_on>
      <author_username>wintermeyer</author_username>
      <body_markdown>Der Fix wurde heute um 14:08 Uhr eingespielt. Hast Du es danach probiert oder davor? Davor ist irrelevant. Danach wäre schlecht. Da müsste ich dann noch mal tiefer einsteigen.</body_markdown>
    </item>
  </replies>
  <files/>
  <likers/>
  <generated_at>2026-09-30T06:21:41Z</generated_at>
  <like_count>1</like_count>
  <fediverse_repost_count>0</fediverse_repost_count>
  <fediverse_replies>
    <item>
      <handle>@nick@norden.social</handle>
      <text>@wintermeyer@vutuv.de

Ich hatte in diesem Fall testweise einen Post abgefragt mit
Accept: application/activity+json, application/json

Kannst Du bestätigen, daß das Ergebnis ein Eigenformat von #Vutuv ist?
Sollte das mit dem Accept-Header so sein?</text>
      <author>Nordnick</author>
      <url>https://norden.social/@nick/117320278868595476</url>
      <received_at>2026-09-23T12:09:48Z</received_at>
      <network>norden.social</network>
      <content_warning/>
    </item>
  </fediverse_replies>
  <repost_count>0</repost_count>
  <title>Stefan Wintermeyer · 2026-09-23</title>
  <schema_version>3</schema_version>
  <formats>
    <json>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636.json</json>
    <text>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636.txt</text>
    <markdown>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636.md</markdown>
    <xml>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636.xml</xml>
  </formats>
  <bookmark_count>0</bookmark_count>
  <url>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636</url>
  <description>Unter derselben URL liefert vutuv je nach Accept-Header mehrere Formate aus.</description>
  <type>post</type>
  <in_reply_to>
    <author>Stefan Wintermeyer</author>
    <url>https://vutuv.de/wintermeyer/posts/01a0cd54-5289-7b43-9080-1cafc98bbb99</url>
  </in_reply_to>
  <fediverse_reaction_count>1</fediverse_reaction_count>
  <thread_truncated>false</thread_truncated>
  <tags>
    <item>vutuv</item>
  </tags>
  <body_markdown>Unter derselben URL liefert vutuv je nach Accept-Header mehrere Formate aus.

Mit `application/json` kommt unser eigenes JSON für Agenten, daher `&quot;type&quot;: &quot;post&quot;` und die nackte UUID. Mit `application/activity+json` bekommst Du eine Note mit voller IRI als id. Welchen Header schickt Deine Software? Mit `application/ld+json; profile=…` kommt fälschlich HTML zurück, diesen Bug behebe ich gerade. Und welche anderen Punkte sind Dir aufgefallen?

Falls Du einen GitHub Account hast: Kannst Du das als Issue eintragen?</body_markdown>
  <published_on>2026-09-23</published_on>
  <video/>
  <fediverse_reactions>
    <item>
      <handle>@nick@norden.social</handle>
      <kind>like</kind>
      <url>https://norden.social/users/nick</url>
      <received_at>2026-09-23T12:18:51</received_at>
      <network>norden.social</network>
    </item>
  </fediverse_reactions>
  <thread>
    <item>
      <id>01a0ccda-5bd7-7fba-b62d-95e57e59a357</id>
      <depth>0</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0ccda-5bd7-7fba-b62d-95e57e59a357</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id/>
      <author_username>wintermeyer</author_username>
      <body_markdown>&quot;Mastodon lehnt AVIF ab.&quot; 😱

Echt?! Warum?

Siehe: https://caniuse.com/?search=AVIF

vutuv benutzt nur AVIF.

**Hintergrund für Nicht-Programmierer:** AVIF ist ein modernes Grafikformat. So wie GIF oder JPEG. Nur halt mit einer besseren Kompression und besserer Qualität. Man kann vereinfacht sagen, dass es wesentlich besser ist als JPEG, WebP und GIF und von allen aktuellen Browsern unterstützt wird.

**Hintergrund für Programmierer:** Mastodon nimmt AVIF zurzeit nicht an. Im aktuellen `main` von Mastodon (v4.7.2) steht in app/models/media\_attachment.rb:

`IMAGE_MIME_TYPES = %w(image/jpeg image/png image/gif image/webp)`

mit dem Kommentar *„HEIC/HEIF/AVIF are temporarily disabled for security reasons&quot;*. \
Die Datei wird geladen und dann verworfen.</body_markdown>
      <in_reply_to_author/>
    </item>
    <item>
      <id>01a0cd05-abac-7960-9d82-22d126fc9b94</id>
      <depth>1</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd05-abac-7960-9d82-22d126fc9b94</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0ccda-5bd7-7fba-b62d-95e57e59a357</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Siehe https://github.com/wintermeyer/vutuv/issues/2279

Dann werden wir mal für ... wie lange auch immer ... extra JPEGs nach Außen liefern. Weil Mastodon ja anscheinend in der Steinzeit lebt und jeder User Bandbreite und Speicherplatz wie Sand am Meer hat. SCNR.</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd0f-8835-756c-a632-e95c76ffe23b</id>
      <depth>1</depth>
      <author>René O.</author>
      <url>https://vutuv.de/reneoelke/posts/01a0cd0f-8835-756c-a632-e95c76ffe23b</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0ccda-5bd7-7fba-b62d-95e57e59a357</in_reply_to_id>
      <author_username>reneoelke</author_username>
      <body_markdown>Die Sicherheitsprobleme sind dann aber eher in der verwendeten Bibliothek zu suchen als im Format, oder?</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd11-4863-76ac-9f69-58b0afef9390</id>
      <depth>2</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd11-4863-76ac-9f69-58b0afef9390</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0cd0f-8835-756c-a632-e95c76ffe23b</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Korrekt.

Kann mir aber auch gut vorstellen, dass sich das seit Ewigkeiten einfach keiner mehr angeschaut hat und welches Problem da auch immer in der Vergangenheit war, gar nicht mehr existiert. AVIF ist jetzt kein exotisches Format.</body_markdown>
      <in_reply_to_author>René O.</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd12-6224-7143-8821-59a30def6752</id>
      <depth>1</depth>
      <author>Alexander van der Steeg</author>
      <url>https://vutuv.de/alexander_vds/posts/01a0cd12-6224-7143-8821-59a30def6752</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0ccda-5bd7-7fba-b62d-95e57e59a357</in_reply_to_id>
      <author_username>alexander_vds</author_username>
      <body_markdown>Geht da WebP?</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd15-77b2-7399-b294-1e3d86d5c704</id>
      <depth>2</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd15-77b2-7399-b294-1e3d86d5c704</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0cd12-6224-7143-8821-59a30def6752</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Stimmt. Du hast Recht. WebP ist auf jeden Fall besser als JPEG. Immer noch nicht so gut wie AVIF, aber kleine Schritte sind besser als nichts. Ich schaue mir das mal an. Danke für den Tipp!</body_markdown>
      <in_reply_to_author>Alexander van der Steeg</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd1b-2f8c-7fc6-8fa5-9acb7870e450</id>
      <depth>2</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd1b-2f8c-7fc6-8fa5-9acb7870e450</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0cd12-6224-7143-8821-59a30def6752</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Nachtrag: Pixelfed verwirft WebP-Anhänge. Ich lasse es jetzt erst mal bei JPEG. Auch wenn sich das nach Steinzeit anfühlt.</body_markdown>
      <in_reply_to_author>Alexander van der Steeg</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd44-ff6b-7b4f-9453-16be2b2e032f</id>
      <depth>1</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd44-ff6b-7b4f-9453-16be2b2e032f</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0ccda-5bd7-7fba-b62d-95e57e59a357</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>&gt; Das klärt aber vermutlich, warum ich auf **[#Mastodon](/tags/mastodon)** Beiträge von **[#Vutuv](/tags/vutuv)** sehe, wo ein Attachment nur als Farbfläche angezeigt wird.

Ich habe jetzt für Mastodon eine Extrawurst eingebaut. Intern bleiben wir weiterhin bei AVIF, weil es einfach das bessere Format ist und extern liefern wir JPEG aus.

Ich verfolge Mastodon nicht täglich. Wenn sich das mal ändert, würde ich mich über eine kurze Nachricht freuen. Dann kann ich wieder auf AVIF umstellen.</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0cd54-5289-7b43-9080-1cafc98bbb99</id>
      <depth>2</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0cd54-5289-7b43-9080-1cafc98bbb99</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0cd44-ff6b-7b4f-9453-16be2b2e032f</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Melde Dich, wenn ich helfen kann.</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0ce10-b95e-793b-9272-bf2113586636</id>
      <depth>3</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0ce10-b95e-793b-9272-bf2113586636</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0cd54-5289-7b43-9080-1cafc98bbb99</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Unter derselben URL liefert vutuv je nach Accept-Header mehrere Formate aus.

Mit `application/json` kommt unser eigenes JSON für Agenten, daher `&quot;type&quot;: &quot;post&quot;` und die nackte UUID. Mit `application/activity+json` bekommst Du eine Note mit voller IRI als id. Welchen Header schickt Deine Software? Mit `application/ld+json; profile=…` kommt fälschlich HTML zurück, diesen Bug behebe ich gerade. Und welche anderen Punkte sind Dir aufgefallen?

Falls Du einen GitHub Account hast: Kannst Du das als Issue eintragen?</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
    <item>
      <id>01a0ceb1-b6bd-75e7-97c3-27943cf6a8e4</id>
      <depth>4</depth>
      <author>Stefan Wintermeyer</author>
      <url>https://vutuv.de/wintermeyer/posts/01a0ceb1-b6bd-75e7-97c3-27943cf6a8e4</url>
      <published_on>2026-09-23</published_on>
      <in_reply_to_id>01a0ce10-b95e-793b-9272-bf2113586636</in_reply_to_id>
      <author_username>wintermeyer</author_username>
      <body_markdown>Der Fix wurde heute um 14:08 Uhr eingespielt. Hast Du es danach probiert oder davor? Davor ist irrelevant. Danach wäre schlecht. Da müsste ich dann noch mal tiefer einsteigen.</body_markdown>
      <in_reply_to_author>Stefan Wintermeyer</in_reply_to_author>
    </item>
  </thread>
  <license/>
  <reply_count>2</reply_count>
</post>
