What to do if response status code isn't set svn path=/trunk/; revision=444
diff --git a/spec/chapters/resources.tex b/spec/chapters/resources.tex index 69a6607..9e52ee3 100644 --- a/spec/chapters/resources.tex +++ b/spec/chapters/resources.tex
@@ -87,7 +87,7 @@ \begin{description} \item[\code{void}] Results in an empty entity body with a 204 status code. -\item[\Response] Results in an entity body mapped from the \code{Entity} property of the \Response\ with the status code specified by the status property of the \Response. A \code{null} return value results in a 204 status code. +\item[\Response] Results in an entity body mapped from the entity property of the \Response\ with the status code specified by the status property of the \Response. A \code{null} return value results in a 204 status code. If the status property of the \Response\ is not set: a 200 status code is used for a non-\code{null} entity property and a 204 status code is used if the entity property is \code{null}. \item[\code{Generic\-Entity}] Results in an entity body mapped from the \code{Entity} property of the \code{Generic\-Entity}. If the return value is not \code{null} a 200 status code is used, a \code{null} return value results in a 204 status code. \item[Other] Results in an entity body mapped from the class of the returned instance. If the return value is not \code{null} a 200 status code is used, a \code{null} return value results in a 204 status code. \end{description}