code: private void verifyHTTP_1_0()
      {
          // Set content length
          int content_length=
              _request.getIntField(HttpFields.__ContentLength);
          if (content_length>=0)
              _inputStream.setContentLength(content_length);
          else if (content_length<0)
          {
              // TODO - can't do this check because IE does this after
              // a redirect.
              // Can't have content without a content length
              // String content_type=_request.getField(HttpFields.__ContentType);
              // if (content_type!=null && content_type.length()>0)
              //     throw new HttpException(_HttpResponse.__411_Length_Required);
              _inputStream.setContentLength(0);
          }
  
          // Check netscape proxy connection - this is not strictly correct.
          if (!_keepAlive && HttpFields.__KeepAlive.equalsIgnoreCase(_request.getField(HttpFields.__ProxyConnection)))
              _keepAlive=true;
  
          // persistent connections in HTTP/1.0 only if requested.
          _persistent=_keepAlive;
      }
docs: /* Verify HTTP/1.0 request
  @exception HttpException problem with the request.
  @exception IOException problem with the connection.