Issue #4456 has been updated by Nigel Kersten. Target version changed from 2.6.x to Statler
---------------------------------------- Bug #4456: REST doesn't know synonyms for its mime types https://projects.puppetlabs.com/issues/4456 Author: Jiří Kubíček Status: Re-opened Priority: High Assignee: Markus Roberts Category: plumbing Target version: Statler Affected Puppet version: Keywords: REST MIME YAML Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4456 One can request data from puppet via REST like: curl -k -H "Accept: yaml" https://puppet.domain.com:8140/production/facts/server.domain.com But IMHO there is no mime-type called yaml and puppet doesn't honor yaml mime types and that causes problems for example with rest-client library, that uses standard mime format: RestClient.get 'https://puppet.domain.com:8140/production/facts/server.domain.com', {:accept => :yaml} err: No specified acceptable formats (text/x-yaml) are functional on this machine I think puppet should handle all types "application/x-yaml", "application/yaml", "text/x-yaml" and "text/yaml" as it currently does with "yaml" -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
