title: How to send HTTP PUT request from Haxe/Neko?
body: <p>I have a server running under NekoVM which provide a RESTLike service. I am trying to send a PUT/DELETE request to this server using the following Haxe code :</p>
  
  <pre><code>static public function main()
  {
      var req : Http = new Http("http://localhost:2000/add/2/3");
      var bytesOutput = new haxe.io.BytesOutput();
  
      req.onData = function (data)
      {
          trace(data);
          trace("onData");
      }
  
      req.onError = function (err)
      {
          trace(err);
          trace("onError");
      }
  
      req.onStatus = function(status)
      {
          trace(status);
          trace("onStatus");
          trace (bytesOutput);
      }
  
      //req.request(true); // For GET and POST method
  
      req.customRequest( true, bytesOutput , "PUT" );
  
  }
  </code></pre>
  
  <p>The problem is that only the <code>onStatus</code> event is showing something :</p>
  
  <pre><code>Main.hx:32: 200
  Main.hx:33: onStatus
  Main.hx:34: { b =&gt; { b =&gt; #abstract } }
  </code></pre>
  
  <p>Can anyone explain me what I am doing wrong with <code>customRequest</code> ?</p>