Any Content-Length greater than or equal to zero is a valid value. Section 4.4 describes how to determine the length of a message-body if a Content-Length is not given.
I have some REST-style APIs that use POST requests with 0 content-length, so I think there's real practical value in allowing 0-length POST requests. Since the HTTP spec says it should be allowed, I think we should try to make FAPWS allow that as well.
According to the HTTP 1.1 spec:
I have some REST-style APIs that use POST requests with 0 content-length, so I think there's real practical value in allowing 0-length POST requests. Since the HTTP spec says it should be allowed, I think we should try to make FAPWS allow that as well.