https://bz.apache.org/bugzilla/show_bug.cgi?id=59174

--- Comment #2 from Felix Schumacher <[email protected]> ---
Created attachment 34691
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34691&action=edit
Test case demonstrating the behaviour with 3.1

Test against the tomcat manager app which runs on localhost. But as this is a
test case to demonstrate the usage of a host header, it is thought of running
on example.com.

What I think is the expected behaviour:
 Authorization manager should be asked for credentials of "example.com"
It is asking for "localhost"

Java client is working with 3.1 (it is asking for localhost, though)
HttpClient 4.x is not working (neither asking for localhost nor example.com)

(This whole business of specifying a host header by hand to simulate virtual
hosts seems wrong. We should be looking at giving a dns resolver, that resolves
"example.com" to localhost (don't know how to change the port))

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to