Commits

Justin Sheehy committed 4fda51b

Automated commit message

  • Participants
  • Parent commits 617a80d

Comments (0)

Files changed (1)

WebmachineResources.wiki

 | expires | undefined |  | undefined {{{|}}} {{{ {{YYYY,MM,DD},{Hour,Min,Sec}} }}} | |
 | generate_etag | undefined |  | undefined {{{|}}} ETag | If this returns a value, it will be used as the value of the ETag header and for comparison in conditional requests. |
 | finish_request | true | | true {{{|}}} false | This function, if exported, is called just before the final response is constructed and sent.  The {{{ Result }}} is ignored, so any effect of this function must be by returning a modified {{{ ReqData }}}. |
-| body-producing function named as a Handler in return value of content_types_provided |  | X | {{{ Body }}} | The Body should be either an iolist() or [[StreamBody|{stream,streambody()}]] |
+| body-producing function named as a Handler by content_types_provided |  | X | {{{ Body }}} | The Body should be either an iolist() or [[StreamBody|{stream,streambody()}]] |
 
 The above are all of the supported predefined resource functions. In addition to whichever of these a resource wishes to use, it also must export all of the functions named in the return values of the content_types_provided and content_types_accepted functions.