title: Response body is null, status is 200
body: <p>I'm using Angular's new HttpClient for requests. When I was using the old http, my component returned the body text just fine, but now the body text is null. I can't figure it out, the server is sending it, but i'm always receiving null as the body.</p>
  
  <p>every other part of the response is normal, status 200  etc. Both the put and the delete expect a plain text success message. I have also tried using the .body method to get the body text, and that returns null as well.</p>
  
  <p>service:</p>
  
  <pre><code>constructor(private http: HttpClient) {}
  
      sendAllow(country, allow) {
          if (allow === 1) {
              return this.http.put(`http://${this.address}/rest/geodrop/config/` +
                                   `${country}`, { observe: 'response' });
          } else {
              return this.http.delete(`http://${this.address}/rest/geodrop/config/` +
                                      `${country}`, { observe: 'response' });
          }
      }
  </code></pre>
  
  <p>component:</p>
  
  <pre><code>this.whiteListService.sendAllow(a, b)
              .subscribe(
                  (response) =&gt; console.log(response),
                  (error) =&gt; {
                      console.log(error);
                  }
          );
  </code></pre>