title: Warning: Cannot modify header information - headers already sent by curl PHP
body: <p>I'm trying to connect to one of our costumers that runs a Woorcommerce site, for receiving the product list. The product list is returned but the string also includes to php notice and a warning saying:</p>
  
  <blockquote>
    <p>"Warning: Cannot modify header information - headers already sent by...".</p>
  </blockquote>
  
  <p>The notice is produced in some WC/WP plugin that I do not care about, need or have access to modify. I make my call through PHP cURL, so my question is if it is possible to set any curl options to avoid this notifications or is the only way a modification of the plugin on the site?</p>
  
  <p>Suggestions using other methods than curl is also welcome.</p>