This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Description
I am a novice in network protocol. In other programming languages (such as Python or Julia), I can send a request with authentication using code similar to the following
requests.get('http://elastic:elastic@localhost:9200') # Python
> <Response [200]>
HTTP.get('http://elastic:elastic@localhost:9200') # Julia
> <Response [200]>
But when I use scalaj-http, I get a 401 response
Http('http://elastic:elastic@localhost:9200').asString //Scala
> <Response [401]>
I've tried other Scala HTTP libraries, such as requests-scala, and the same problem. I want to know http://user:password@address:port is a common way to write? Why doesn't our library support it?