I've been trying to access a web service using System.Net.WebRequest to make a GET request. This would return a "504 Gateway timeout" error.
However the same web service would return data successfully when accessed through a browser.
After comparing the request headers of the WebRequest and Browser requests I identified that the header "Accept-Language" had to be present even if the value of it was empty.
Any ideas as to why "Accept-Language" has to be present?