nokia / restful

A powerful RESTful framework for Go.
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

Client SetBasicAuth #16

Closed Som-Som-CC closed 3 years ago

Som-Som-CC commented 3 years ago

Go's http.Request has SetBasicAuth(). That can be used by http.Client when calling Do. It would be nice to have the same in restful lib.

Similarly, handler function receives request and BasicAuth within to authenticate user. That is not available in Lambda. Though that may be better being done by an API GW.