xentek / hyperdrive

hypermedia state machine
https://rubygems.org/gems/hyperdrive
MIT License
5 stars 0 forks source link

adds 'text/html' media type #29

Closed jpark3000 closed 10 years ago

jpark3000 commented 10 years ago

in relation to form generation in Tastebud-Platform API

refs #140

xentek commented 10 years ago

@jpark3000 Don't want to make text/html one of the default mime types that hyperdrive supports. Also, you would specify just html and not the full media type, as these options are used to build out the vendor media type(s) for a resource (e.g. html would result in a mime type like: application/vnd.hyperdrive.things+html, where text/html would result in the invalid mime type of application/vnd.hyperdrive.things+text/html)