JohnP55
❔ So I'm writing an API for a game in C#, and I need the User-Agent to be an empty string.
The dev isn't exactly good at security, and long story short, in order to properly send a request, the User-Agent must be set to an empty string. However, using System.Net.Http, I have been unable to find a way to specifically make it an empty string rather than simply non-existent. To clarify, it must actually exist in the request, but be empty. Is this even possible using System.net.Http?
20 replies