Of course the REST package has this:
'text/x-json' => 'JSON',
Near as I can gather, the official type is appliction/json:
http://tech.groups.yahoo.com/group/json/message/337 http://www.iana.org/assignments/media-types/application/ http://www.ietf.org/rfc/rfc4627.txt
And to make matters more fun, MIME::Types has neither. I know, I know. "Well volunteered". :-)Before I go patching things and submitting RT bugs, what do we want to do with REST?
I vote to support both mime types. Near as I figure, it can't hurt to do so. Perhaps a warning about using an outdated mime type? -=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
