dimkanovikov / WebLoader

High level wrapper around QNetworkAccessManager for make network communications easy
GNU Lesser General Public License v3.0
17 stars 6 forks source link

Basic access authentication possible #11

Open ghost opened 6 years ago

ghost commented 6 years ago

Is it possible to use Basic access authentication (https://en.wikipedia.org/wiki/Basic_access_authentication) with this library?

dimkanovikov commented 6 years ago

Yes with some improvements. You need to add a method in NetworkRequest which allow you to add user-defined header and then you can pass the Authorization header through this method.