BROGRAMMIST Telegram 310
JavaScript MIME-Type

Kichik fayl server yasayotgan edim. JavaScript uchun "Content-Type" qanday bo'lishida ikkilanib qoldim.
Vite fayllarni "text/javascript" qilib yuborar ekan. Copilot "application/javascript" deb yozib bergandi.

Qaysi to'g'ri ekan deb tekshirib ko'rdim:

1. "text/javascript" - eski standard bo'lgan.

2. "application/javascript" - yangi standard sifatida kiritlgan. JavaScript fayllar shunchaki "text" - matn emas va semantik jihatdan uni "application" deb sinflash to'g'ri bo'larkan.

3. "application/javascript" tipi "text/javascript"ni butunlay o'rnnini egallashi kerak edi. Lekin odamlar baribir "text/javascript"ni ishlatishni davom etaverishgan.

4. Shu sabab standardni qayta ko'rib chiqishgan.

5. "text/javascript" endi to'g'ri standard tip.

6. "application/javascript" eski (deprecated) tip.

🤗🤗🤗

https://mimetype.io/text/javascript

@brogrammist
😁12👍10🤔1



tgoop.com/brogrammist/310
Create:
Last Update:

JavaScript MIME-Type

Kichik fayl server yasayotgan edim. JavaScript uchun "Content-Type" qanday bo'lishida ikkilanib qoldim.
Vite fayllarni "text/javascript" qilib yuborar ekan. Copilot "application/javascript" deb yozib bergandi.

Qaysi to'g'ri ekan deb tekshirib ko'rdim:

1. "text/javascript" - eski standard bo'lgan.

2. "application/javascript" - yangi standard sifatida kiritlgan. JavaScript fayllar shunchaki "text" - matn emas va semantik jihatdan uni "application" deb sinflash to'g'ri bo'larkan.

3. "application/javascript" tipi "text/javascript"ni butunlay o'rnnini egallashi kerak edi. Lekin odamlar baribir "text/javascript"ni ishlatishni davom etaverishgan.

4. Shu sabab standardni qayta ko'rib chiqishgan.

5. "text/javascript" endi to'g'ri standard tip.

6. "application/javascript" eski (deprecated) tip.

🤗🤗🤗

https://mimetype.io/text/javascript

@brogrammist

BY Brogrammist


Share with your friend now:
tgoop.com/brogrammist/310

View MORE
Open in Telegram


Telegram News

Date: |

The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday. But a Telegram statement also said: "Any requests related to political censorship or limiting human rights such as the rights to free speech or assembly are not and will not be considered." During a meeting with the president of the Supreme Electoral Court (TSE) on June 6, Telegram's Vice President Ilya Perekopsky announced the initiatives. According to the executive, Brazil is the first country in the world where Telegram is introducing the features, which could be expanded to other countries facing threats to democracy through the dissemination of false content. best-secure-messaging-apps-shutterstock-1892950018.jpg Telegram desktop app: In the upper left corner, click the Menu icon (the one with three lines). Select “New Channel” from the drop-down menu.
from us


Telegram Brogrammist
FROM American