[SERVER-71146] Apply `Accept: */*` header for WinHTTP client by default Created: 07/Nov/22  Updated: 29/Oct/23  Resolved: 15/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Emilio Alvear Cantu (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-11-28, Security 2022-12-12, Security 2022-12-26, Security 2023-01-09, Security 2023-01-23, Security 2023-02-06, Security 2023-02-20, Security 2023-03-06, Security 2023-03-20, Security 2023-04-03, Security 2023-04-17, Security 2023-06-12, Security 2023-06-26
Participants:

 Description   

While the curl implementation of HTTPClient send an `Accept: /` header by default, the windows client does not. A caller may still narrow the accept header by choice, but we should make the default behaviors match.



 Comments   
Comment by Githook User [ 14/Jun/23 ]

Author:

{'name': 'Emilio0404', 'email': 'emilio.alvear@hotmail.com', 'username': 'Emilio0404'}

Message: SERVER-71146 updated default Accept header of windows httpclient to /
Branch: master
https://github.com/mongodb/mongo/commit/ca11ac686db2b9ea9010e481f248eb9a1e5dda76

Generated at Thu Feb 08 06:18:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.