From cadde391f7d693c043963c7c7ebde7373e05d570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 25 May 2013 17:49:09 +0200 Subject: manual: Add a missing return type for generate_etag --- manual/cowboy_rest.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/cowboy_rest.md b/manual/cowboy_rest.md index b7890e4..c79aebb 100644 --- a/manual/cowboy_rest.md +++ b/manual/cowboy_rest.md @@ -291,12 +291,15 @@ REST callbacks description ### generate_etag > * Methods: GET, HEAD, POST, PUT, PATCH, DELETE -> * Value type: binary() +> * Value type: binary() | {weak | strong, binary()} > * Default value: undefined > > Return the entity tag of the resource. > > This value will be sent as the value of the etag header. +> +> If a binary is returned, then the value will be parsed +> to the tuple form automatically. ### is_authorized -- cgit v1.2.3