diff options
| author | Luke Kanies <luke@madstop.com> | 2008-07-22 19:55:53 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-07-29 00:47:03 -0500 |
| commit | 0ce92f1e0245bc3218c4ef34c9d218f586407636 (patch) | |
| tree | 3b16c613cd48e8f6f526b057ddff854afb5f85ec /examples/modules/sample-module/lib/puppet | |
| parent | a4170ba27bdda9e7aab8dfaf78f81781c95106f9 (diff) | |
| download | puppet-0ce92f1e0245bc3218c4ef34c9d218f586407636.tar.gz puppet-0ce92f1e0245bc3218c4ef34c9d218f586407636.tar.xz puppet-0ce92f1e0245bc3218c4ef34c9d218f586407636.zip | |
The REST terminus now uses the content-type and http result codes.
Things are currently broken -- this is a checkpoint commit
so that it's safe to make mistakes and will probably be
removed.
Signed-off-by: Luke Kanies <luke@madstop.com>
The REST terminus now completely does error handling and serialization.
The Integration tests are still completely broken.
Signed-off-by: Luke Kanies <luke@madstop.com>
The Mongrel and Webrick rest handlers no longer yaml-encode exceptions.
They just store the exceptions in plain text in the message body.
They also set the status to 400, rather than 404.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'examples/modules/sample-module/lib/puppet')
0 files changed, 0 insertions, 0 deletions
