Headers such as Realm / etc are important for auth proxies, so
this change and unit test make sure they get copied back to the
client.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
As per comment from @stefanprodan, the path for the handler
was incorrect in the run stage of the Dockerfile.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This plugin can be tested as a stand-alone Golang app, or
deployed as a Docker image with the following image:
openfaas/basic-auth-plugin:0.1.0
Signed-off-by: Alex Ellis <alexellis2@gmail.com>