I have a project that uses an Apache server that demands NTLM auth. If i look with packetracer to the http packets i can see the username in clear text.
My question is how do i read the http headers of the current connection. I have tried:
url = URI.parse('http://www.knowbase.be')
req = Net::HTTP::Get.new('http://www.knowbase.be')
@res = Net::HTTP.start(url.host, url.port) {|http|
http.request(req)
}
But that gives a http request from server side. Can someone help me with this! I need this functionality for implementing this --> Tutorial