Hi Sean, [...]
> Message.getAttributes() returns a MapModel, but the cited > example is using > ParameterLists. I think the example is out of date. The headers are passed as an attribute available in the attributes map. It's the attribute value that has a type of ParameterList. See the Javadocs: http://www.restlet.org/docs/api/org/restlet/data/Message.html#getAttributes( ) > Also, I require some clarification. Is it not allowed (or not > recommended) to use > the method in the example to set standard headers? It is allowed, just not recommended unless you have good reasons to do it. The default expectation is that all the standard HTTP header information should be available via the API object model. > I think it is clearly stated that it is alright to set > non-standard headers but > not clear enough regarding standard headers. It is forbidden to set standard headers (and will be rejected). The Javadocs state this in the end (see getAttributes() above). Maybe it should be reworded? Best regards, Jerome

