#mimetype
images posted with my fork will add have info about the image directly in the record, so that it can react accordingly and use a png instead of the other (all lossy on the cdn :( ) formats when an image is tiny
September 24, 2025 at 12:03 PM
it's awesome how you can't upload an HTML file to a bluesky pds as text/html mimetype if it contains an SVG because then the parsing fails
September 22, 2025 at 6:46 PM
oh yeah then my hacks are terrible ideas sorry
but implementing svg upload would be really easy still just notice the mimetype of the file you selected is svg and that it's within the limit and pass it directly to the upload part instead of trying to compress it
October 3, 2025 at 4:00 PM
so i think it registered itself as a handler for the mimetype because it can import songs from zip files???
October 3, 2025 at 2:52 AM
XSS via image/svg+xml mimetype, heh
April 29, 2023 at 10:57 AM
content-type の parse 書くの地味にめんどくさいなと思ってたらいいのあった: https://github.com/jsdom/whatwg-mimetype
May 7, 2023 at 3:17 AM
When using aerc and dealing with multiple attached documents, I am only presented with the mimetype of document when I want to open one of them (first picture). If I have multiple documents of the same mimetype, it is sometimes hard to know which […]

[Original post on gts.chocolatines.org]
August 13, 2025 at 7:43 PM
ITmedia記事の再共有とかでリンクカードの文字化けが目立つので、主要クライアントだけでも文字コード変換対応してほしさある。

一度コンテンツの中身getしたあとに charset=...の部分を判定して、UTF8以外の文字コードが宣言されているときにmimetype書き換えるような…

xhr.overrideMimeType("text/plain; charset=shift_jis");
September 19, 2023 at 6:04 AM
From what @skeets-app.bsky.social told me, the Blob itself retains the original mimeType and you just have to check that instead of the cdn url, they're already allowing GIF uploads like this
October 29, 2023 at 4:11 PM
I did a list of the records in your repo. The partyheart has mimetype image/png, whereas the facet pointing to it saus lottie=true

In the facet lexicon is a field "formats". The name suggests an array, but it seems a single value.
August 21, 2024 at 1:44 PM
Embark on an "Enchanted Jungle Cruise" with our cozy adventure-themed overlay design. Create a captivating stream atmosphere inspired by nature & exploration.

http://ko-fi.com/dutchmotiondesigns

#streamoverlay #vtuberoverlay #streamaesthetic #streamgraphics
May 25, 2025 at 1:35 PM
Time for key frequencies! The top ones are unsurprising: createdAt, title, and description are overwhelmingly represented, although the drop from "createdAt" (#1, in 807 collections) and "title" (#2, in 158) is incredibly steep.

In total there are 1556 keys, with only 367 appearing more than once.
September 29, 2025 at 9:48 PM
You can actually mint an NFT with the same image on self-host, or if it's pixel art you can even use mimetype dataurl.

The ironic part: Minting an NFT costs fractions of a cent if you aren't paying hosting and marketing fees.
September 9, 2025 at 10:19 PM
Promise<{ blob: Blob, mimeType: string}>

Vs

{ blob: Promise<Blob>, mimeType: string}

Tô pegando o resultado do fetch btw
September 7, 2024 at 9:49 PM
in this case file.getMimeType() either returns the mimeType property on the File object or, if it's not set, guesses it based on the file extension AND THEN SETS THE PROPERTY

I can understand why you would think this is reasonable to do but please! don't!
May 16, 2023 at 1:59 AM
Alt text retrieved
October 28, 2023 at 5:52 AM
Actually you can supply the mimetype info, it just still does the parsing to confirm/override it
May 20, 2025 at 1:30 AM
On bsky it instead looks like this where valid values are sexual, nudity and porn
September 6, 2023 at 8:57 AM
OH: "We have enough Twitter followers between us to create a new mimetype right now" @sebmarkbage @domenic @bterlson @zenparsing
November 17, 2024 at 12:30 PM
Although honestly I'm not sure if blobs need to be associated with a post at all, maybe they can just have any mimetype (e.g. text/html?)

idk I'm basically flying blind here, I'm bad at reading the source code of complex apps.
April 28, 2023 at 3:04 PM
Pues me ha sido util. Safari aplica parece un modo estricto aparte y no estaba aceptando medias tintas. He forzado al servidor a no cachear Y a devolver el MimeType correcto fichero a fichero y (¡Al fin!) parece que ha tragado; tanto en Safari Web como en iOS.

Maldito Nginx.

¡Gracias again! 😄
December 7, 2024 at 7:28 PM
poked around in the pds code and i don't see this error text anywhere

must be some type of mimetype guesser
November 25, 2024 at 3:57 AM
For some reason when you use the mediatenor gifs on the bluesky client, the mimeType will be jpeg in the PDS?

pdsls.dev/at/elliotcly...
PDSls
Browse and manage atproto repositories
pdsls.dev
January 11, 2025 at 5:45 AM
$type: 'blob'
mimeType: string
ref: cid-link
size: number
July 24, 2024 at 1:58 AM
gemini、MimeType を JSON に指定しても JSON で返ってこないことがあるみたいで辛い

discuss.ai.google.dev/t/gemini-1-5...
Gemini 1.5 Pro responds with incomplete JSON sometimes
Hi - I am exploring Gemini 1.5 Pro’s capabilities. I noticed that sometimes it provides incomplete (invalid) JSON output. I have tried to instruct it to drop the elements in the response that are deem...
discuss.ai.google.dev
May 7, 2025 at 1:11 AM