diff --git a/codegens/http/lib/util.js b/codegens/http/lib/util.js index 3646cb7b9..73685c3fe 100644 --- a/codegens/http/lib/util.js +++ b/codegens/http/lib/util.js @@ -36,7 +36,7 @@ var contentTypeHeaderMap = { 'js': 'text/javascript', 'json': 'application/json', 'jsonld': 'application/ld+json', - 'mid': 'audip/midi', + 'mid': 'audio/midi', 'midi': 'audio/midi', 'mjs': 'text/javascript', 'mp3': 'audio/mpeg', diff --git a/codegens/python-requests/lib/util/parseBody.js b/codegens/python-requests/lib/util/parseBody.js index 40acb071e..f7cce739e 100644 --- a/codegens/python-requests/lib/util/parseBody.js +++ b/codegens/python-requests/lib/util/parseBody.js @@ -31,7 +31,7 @@ var _ = require('../lodash'), 'js': 'text/javascript', 'json': 'application/json', 'jsonld': 'application/ld+json', - 'mid': 'audip/midi', + 'mid': 'audio/midi', 'midi': 'audio/midi', 'mjs': 'text/javascript', 'mp3': 'audio/mpeg',