Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Allow empty authority for unknown schemes #4349
I discussed this briefly with @bagder
According to RFC3986 Section 3.2.2 on page 21
cURL implements this behaviour for the
This PR adds such a
for use with unknown schemes (i.e. not "file:///") to override cURL's demand that an authority exists.
parts should fail. With it, it should work. The flag effectively disables the hostname check if it's set, and the hostname is empty.