code: public void setChunking()
          throws IllegalStateException
      {
          if (_realIn.getByteLimit()>=0)
              throw new IllegalStateException("Has Content-Length");
          if (_deChunker==null)
              _deChunker=new ChunkingInputStream(_realIn);
          in=_deChunker;
          
          _chunking=true;
          _deChunker._trailer=null;
      }
docs: Set chunking mode.
  Chunking can only be turned off with a call to resetStream().
  @exception IllegalStateException Checking cannot be set if
  a content length has been set.