Closed vonloxley closed 9 years ago
We are using basic auth like this:
FRestClient.Resource(URI)
.Accept(RestUtils.MediaType_Json)
.Header('Authorization', 'Basic bW9QjcOL2M05123Q...')
.Get<TClients>;
I'm not convinced this implementation is necessary, but I cannot think in any objections right now. I will appreciate some other opinions.
I merged some PRs, so, your changes are conflicting, can you fix it?
I made some changes from the original approach. The WinHttp and WinInet implementations don't work on Windows 7. They dont include the authorization header. So i implemented in RestClient unit using @RobertoSchneiders approach.
Thansks @vonloxley
:+1:
Add setCredentials-method to HttpConnection-interface and implement it. Fix ConfigureTimeout-implementations not returning
self
as well.