Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Proxy Authentication Required
Re: Proxy Authentication Required [message #25943 is a reply to message #25942] Sun, 21 March 2010 08:32 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Mindtraveller wrote on Sun, 21 March 2010 08:17

AFAIR Web package and HttpClient class supports Proxy. Just look at it's methods closer.

Hello Mindtraveller

Is perhaps the key here? (httpcli.cpp)
	if(use_proxy && !IsNull(proxy_username))
		 request << "Proxy-Authorization: basic " << Base64Encode(proxy_username + ':' + proxy_password) << "\r\n";
	if(!IsNull(digest))
		request << "Authorization: Digest " << digest << "\r\n";
	else if(!force_digest && (!IsNull(username) || !IsNull(password)))
		request << "Authorization: basic " << Base64Encode(username + ":" + password) << "\r\n";


Does in anyway the code would run something like this? (I do not have any idea)

request << "Proxy-Authorization: NTLM " << Base64Encode(proxy_username + ':' + proxy_password) << "\r\n";


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Exclusion of underline chars in UrlEncode function
Next Topic: BUG: HttpClient authentication doesn't work with some servers
Goto Forum:
  


Current Time: Wed May 08 23:00:21 CEST 2024

Total time taken to generate the page: 0.02773 seconds