x-shader/x-fragment is a x-shader media type.
Quick facts
What is x-shader/x-fragment
x-shader/x-fragment is one of the x-shader media types used on the internet, and it is safe to compress for transport. When serving this content over HTTP, set the Content-Type header in the response, for example:
Content-Type: x-shader/x-fragment
Relation chain
Related MIME types
Used with
Related headers
Related methods
Frequently asked questions
x-shader/x-fragment is a x-shader media type used to identify a content format; servers announce it to clients with the Content-Type header.
Extensions such as none registered are associated with this MIME type.
Send Content-Type: x-shader/x-fragment in the HTTP response.
Sources & standards
Updated 2026-08-18
Explore this reference