[erlang-bugs] inets:http client: bug and feature request

Paul Guyot pguyot@REDACTED
Wed Aug 13 11:13:50 CEST 2008


Hello,

I noticed a bug (or an undocumented feature?) with http:request. If  
the request is asynchronous, option {full_result, false} is not  
honored, the result is always full. This is a nasty bug as fixing it  
might break code (OTOH, why would you pass {full_result, false} if it  
doesn't work?).

Besides, one can perform basic authentication with the  
"login:password@" URI scheme (which is not documented, AFAIK).  
However, this probably doesn't work when the login or the password  
contains the @ sign (typically an e-mail address is used for the  
login). I wish there would be a non-ambiguous way to specify the  
login and the password for authentication (the workaround is to add  
the "Authorization" header directly).

Paul




More information about the erlang-bugs mailing list