title: Flutter Web - Request Headers missing
body: <p>I run the exact same code on Android and Web by using Dio for sending requests and what I see is that my backend doesn't get my custom added headers when I send the request from browser, but everything works fine if I do the same from emulator.</p>
  
  <p>CORS is correctly setup on my backend.</p>
  
  <pre><code>Dio dio = Dio();
  dio.options.headers[HttpHeaders.authorizationHeader] = "Bearer $token";
  final Response response = await dio.get("http://$host:$port/$path", queryParameters: {"searchText": searchQuery, "page": 0, "pageSize": 100});
  </code></pre>
  
  <p><strong>Additional information</strong></p>
  
  <p>post request works fine, the header is only missing from get requests. Either I use the http or dio packages.</p>
  
  <p>However I can see in my server logs the following line when I log out all the headers of the request: </p>
  
  <pre><code>headerName: access-control-request-headers
  header: authorization
  </code></pre>
  
  <p>Has anyone seen something similar?</p>