Commits

Justin Sheehy committed 8057b4a

Automated commit message

Comments (0)

Files changed (1)

WebmachineMechanics.wiki

 
 From the way that webmachine's decision core works, it follows that Webmachine's HTTP behavior is transactional.  Each HTTP Request is fully received, and the resulting HTTP Response is then fully constructed before being returned.  This means that while Webmachine is suitable for a great many Web applications it is not a good fit for an application that will gradually or continuously stream responses back to clients inside the context of a single HTTP Request.
 
-A useful way to build Webmachine applications is often just to write a single function such as {{{ to_html }}} to provide the most basic of stubs; when that function (or any other returned by {{{content_types_provided}}}) you can produce {{{200 OK}}} responses.  After that, you can easily extend your application's Web behavior simply by filling in the other [[WebmachineResources|resource functions]] as desired.
+A useful way to build Webmachine applications is often just to write a single function such as {{{ to_html }}} to provide the most basic of stubs; when that function exists (or any other returned by {{{content_types_provided}}}) you can produce {{{200 OK}}} responses.  After that, you can easily extend your application's Web behavior simply by filling in the other [[WebmachineResources|resource functions]] as desired.