# File being served with incorrect content type

**URL:** <https://forum.infinityfree.com/t/file-being-served-with-incorrect-content-type/117692>\
**Category:** Hosting Support\
**Created:** [February 17, 2026, 10:19pm UTC](https://forum.infinityfree.com/t/file-being-served-with-incorrect-content-type/117692 "2026-02-17T22:19:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlaytimesOver](https://forum.infinityfree.com/letter_avatar/playtimesover/32/5_5575768a8748004e209b776fc1b2916d.png) [@PlaytimesOver](https://forum.infinityfree.com/u/PlaytimesOver)\
**Post date:** [February 17, 2026, 10:19pm UTC](https://forum.infinityfree.com/t/file-being-served-with-incorrect-content-type/117692/1 "2026-02-17T22:19:54Z")

</div>

### Website URL

[playtimesover.infinityfree.me/app-ads.txt](https://playtimesover.infinityfree.me/app-ads.txt)

### Error Message

We could not accept the media type of the resource at the given App-Ads URL. (rejectHint: (unsupportedMediaType) ) The IAB Ads.txt standard requires its content-type header includes “text/plain”. Review your Developer Website field in the Organization Info section above. If you haven’t already please create your app-ads.txt file

### Other Information

I have created at .txt file called app-ads.txt in the root of my site, it appears to be being served with the content type ‘document’ and not the expected ‘text/plain’

Is that a limit of this service or have I done something dumb?

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [February 17, 2026, 11:38pm UTC](https://forum.infinityfree.com/t/file-being-served-with-incorrect-content-type/117692/2 "2026-02-17T23:38:56Z")

</div>

> [@Browser Security System - Features and Limitations](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353):
>
> InfinityFree uses a security system on all free hosting accounts to ensure your website is accessed by real web browsers, not bots or automated scripts. While this protects your site from malicious traffic, it can affect certain types of access. How the security system works The system checks that visitors can execute JavaScript and accept cookies: features that all modern web browsers support. This verification happens automatically and most website visitors will never notice it. You may occa…

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [February 24, 2026, 11:39pm UTC](https://forum.infinityfree.com/t/file-being-served-with-incorrect-content-type/117692/3 "2026-02-24T23:39:55Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
