Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/windmill-api/models/ObjectSerializer.ts>ObjectSerializer.normalizeMediaType

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method ObjectSerializer.normalizeMediaType
import { ObjectSerializer } from "https://deno.land/x/windmill@v1.28.1/windmill-api/models/ObjectSerializer.ts";

Normalize media type

We currently do not handle any media types attributes, i.e. anything after a semicolon. All content is assumed to be UTF-8 compatible.

Parameters

mediaType: string | undefined

Returns

string | undefined