diff options
Diffstat (limited to 'doc/src/manual')
-rw-r--r-- | doc/src/manual/cowboy_rest.ezdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_rest.ezdoc b/doc/src/manual/cowboy_rest.ezdoc index eef622a..35131c7 100644 --- a/doc/src/manual/cowboy_rest.ezdoc +++ b/doc/src/manual/cowboy_rest.ezdoc @@ -290,6 +290,10 @@ the same format as the etag header, including quotes. * Value type: true | {false, AuthHeader} * Default value: true +Types: + +* AuthHead = iodata() + Return whether the user is authorized to perform the action. This function should be used to perform any necessary @@ -380,6 +384,10 @@ the request body, which is processed later. * Value type: {true, URL} | false * Default value: false +Types: + +* URL = iodata() + Return whether the resource was permanently moved. If it was, its new URL is also returned and sent in the @@ -391,6 +399,10 @@ location header in the response. * Value type: {true, URL} | false * Default value: false +Types: + +* URL = iodata() + Return whether the resource was temporarily moved. If it was, its new URL is also returned and sent in the |