changed content_length to length. It seemed more consistent with uri language, don't know if this is important though