title: System.setProperty("sun.net.http.allowRestrictedHeaders", "true") is not working in jenkins
body: <p>I am trying to send origin header in http request header but when I am getting its value I am getting null instead of the url that I had set in origin header.</p>
  
  <p>Also I have enabled the restricted headers to be send as part of request header in jenkins job by using the following</p>
  
  <pre><code>System.setProperty("sun.net.http.allowRestrictedHeaders", "true")
  </code></pre>
  
  <p>But it seems that this command is not working.</p>