title: Angular2 timeout in http post request
body: <p>Is it possible to make a timeout of 3 seconds in a post request ? How ?</p>
  
  <p>My code for the moment </p>
  
  <pre><code>this.http.post('myUrl', 
      MyData, {headers: Myheaders})
          .map(res =&gt; res.json())
          .subscribe(
              data =&gt; this.ret = data,
              error =&gt; console.debug('ERROR', error),
              () =&gt; console.log('END')
          );
  </code></pre>