Changes for version 0.16 - 2015-07-05
- MISC
- Made the state machine only called allowed_methods() on your resource class once. RT #101203. Implemented by Nathan Cutler.
- Noted in the docs that resource methods may be called more than once and that they should therefore by idempotent. RT #101219. Implemented by Nathan Cutler.
- Removed the CAVEAT section of the docs warning people not to use this module. RT #97534. Implemented by Nathan Cutler.
- Setting the WM_DEBUG environtment variable to "diag" now sends debugging output to Test::More::diag() instead of printing directly to STDERR.
- Resource classes were being passed a string for known_content_type() instead of an HTTP::Headers::ActionPack::MediaType object. Reported by Robert Rothenberg. GH #27.
- BUG FIXES
- Fixed the docs for the valid_content_headers() method. This defaults to true, not false, as the docs previously said. Fixed by Nathan Cutler.
Documentation
Learn how to use Web::Machine
Modules
A Perl port of Webmachine
The State Machine runner
The States for Web Machine
The I18N support for HTTP information
The English support for I18N-ed HTTP information
A base resource class
General Utility module
Module to handle body encoding
Module to handle content negotiation
Examples
- examples/env-resource/app.psgi
- examples/hello-world/app.psgi
- examples/yapc-talk-examples/000-basic.psgi
- examples/yapc-talk-examples/001-basic.psgi
- examples/yapc-talk-examples/002-basic.psgi
- examples/yapc-talk-examples/010-browser.psgi
- examples/yapc-talk-examples/011-browser.psgi
- examples/yapc-talk-examples/012-browser.psgi
- examples/yapc-talk-examples/020-auth.psgi
- examples/yapc-talk-examples/030-postback.psgi
- examples/yapc-talk-examples/031-postback-w-json.psgi
- examples/yapc-talk-examples/032-postback-w-auth.psgi
- examples/yapc-talk-examples/033-postback-w-hateoas.psgi
- examples/yapc-talk-examples/100-add-caching.psgi
- examples/yapc-talk-examples/110-service-unavailable.psgi
- examples/yapc-talk-examples/120-bind-path.psgi
- examples/yapc-talk-examples/130-tracing-header.psgi