Skip to content

Commit

Permalink
Merge pull request #756 from Pranav2612000/fix/rename-midi-file-type
Browse files Browse the repository at this point in the history
fix python: rename midi file type to audio/midi
  • Loading branch information
VShingala authored Jul 19, 2024
2 parents 814587e + cc4170d commit 74d1269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codegens/http/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion codegens/python-requests/lib/util/parseBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 74d1269

Please sign in to comment.