You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
RestClient default headers added to the RestClient are not included in RestRsponse.Request.Parameters collection when using RestClient.AddDefaultHeader method
To Reproduce
RestClient restClient = new RestClient("https://swapi.dev/api"); restClient.AddDefaultHeader("Authorization", "1234"); RestRequest rq = new RestRequest("/films", Method.Get); RestResponse rs = restClient.Execute(rq);
Expected behavior
RestClient default headers should be included in the RestResponse.Request.Parameters collection
Stack trace
No exceptions; just missing data
Desktop (please complete the following information):
OS: Windows
.NET 6
RestSharp v112
The text was updated successfully, but these errors were encountered:
Describe the bug
RestClient default headers added to the RestClient are not included in RestRsponse.Request.Parameters collection when using RestClient.AddDefaultHeader method
To Reproduce
RestClient restClient = new RestClient("https://swapi.dev/api"); restClient.AddDefaultHeader("Authorization", "1234"); RestRequest rq = new RestRequest("/films", Method.Get); RestResponse rs = restClient.Execute(rq);
Expected behavior
RestClient default headers should be included in the RestResponse.Request.Parameters collection
Stack trace
No exceptions; just missing data
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: