79177136

Date: 2024-11-11 09:51:26
Score: 1.5
Natty:
Report link

A detailed answer with solution for the JDK HttpClient can be found at Setting "Origin" and "Access-Control-Request-Method" headers with Jersey Client:

Some restricted headers are blocked and not transmitted by the JDK HttpClient-API (including "Origin"). You can override it by using

System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SCI