title: org.restlet: Posting JSON content against webservice returns HTTP error 411 (length required)
body: <p>Simplified code example: <a href="http://pastebin.com/9ZQxSXi9" rel="nofollow noreferrer">http://pastebin.com/9ZQxSXi9</a></p>
  
  <p>Hi</p>
  
  <p>I wanted to experiment with the restlet 2.0 library and the gpodder webservice but somehow i reached a point where I can't see the wood for the trees.
  The service in the example requires HTTP authentication and to post some JSON content to a URL. 
  Nothing that complicated but somehow even though the debug view claims the request object to contain the necessary content the RESTful webservice's response leads me to believe the HTTP header of the request was missing the content.</p>
  
  <p>Any ideas on what's the reason? Thanks in advance.</p>