- System (white)
- Request (blue)
- Accept (green)
- Retrieve (white)
- Precondition (yellow)
- Create/Process
- Response (cyan)
- Alternative (gray)
callback | output | default | |
---|---|---|---|
N3 | is_create_done :bin |
T / F | is_process_done :bin |
N6 | create_see_other :bin |
T / F | see_other :bin |
content_types_provided:handler :bin |
T / F | ||
to_content : in |
T / F | FALSE | |
- | to_resource_content :bin |
T / F | |
- | content_location :var |
URI | |
- | vary :var |
[ [ HeaderName ] ] | |
- | expires :var |
Date | |
- | last_modified :var |
Date | Now |
- | etag :var |
ETag | |
N14 | is_process_done :bin |
T / F | TRUE |
N10 | see_other :bin |
T / F | FALSE |
path :var |
URI | ||
N9 | has_multiple_choices :bin |
T / F | FALSE |
N8 | content_types_provided:handler :bin |
T / F | |
to_content : in |
T / F | FALSE | |
- | to_resource_content :bin |
T / F | |
- | content_location :var |
URI | |
- | cache :var |
String | |
- | vary :var |
[ [ HeaderName ] ] | |
- | expires :var |
Date | |
- | last_modified :var |
Date | Now |
- | etag :var |
ETag |
FIXME Explanations needed
Return TRUE if the content is resource content, as in this content would be the response to a GET/HEAD request to the resource identified by the Content-Location header.
By default, this returns TRUE if a Content_Location header has been set (e.g. during the create
or process
callback).
Return a Content-Location header.
By default, this returns an already set Content-Location response header or the location of the request target i.e. the resource would reply with its own content.