recipe.erp5_bootstrap: Add support for non-HTTP schemes.
urllib chooses the proper httplib class based on url scheme, so use it. urllib handles in-url credentials for basic auth, removing the need to implement it ourselves. Simplifies URL parsing, uncovering errors on recipe execution rather than on generated script's execution. Use %r for automated escaping & quoting.
Showing
Please register or sign in to comment