I tried setting the content length to -1, as per MSDN:
"The ContentLength property contains the value of the Content-Length header 
returned with the response. If the Content-Length header is not set in the 
response, ContentLength is set to the value -1."

Restlet now complains that the content length must be greater than or equal to 

As pointed out by other posters, this is an artificial constraint imposed by 
Restlet. In many cases, the URI itself carries sufficient information.

I.e., please stop doing that :-)


Reply via email to