classafButter::BasicAuthMiddleware
sys::Obj afButter::BasicAuthMiddleware : afButter::ButterMiddleware
(Middleware) - Converts user info in the request URL to a BASIC
Authentication HTTP header.
Example, a HTTP request of:
GET http://tony:fish@www.alienfactory.co.uk/secret.zip HTTP/1.1 Host: www.alienfactory.co.uk
is converted to:
GET http://www.alienfactory.co.uk/secret.zip HTTP/1.1 Host: www.alienfactory.co.uk Authorization: BASIC dG9ueTpmaXNo