Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print in consumable format: URI("...") #46

Open
StefanKarpinski opened this issue Oct 31, 2016 · 2 comments
Open

print in consumable format: URI("...") #46

StefanKarpinski opened this issue Oct 31, 2016 · 2 comments

Comments

@StefanKarpinski
Copy link

Currently:

julia> URI("https://example.com/data.csv")
URI(https://example.com/data.csv)

Proposed:

julia> URI("https://example.com/data.csv")
URI("https://example.com/data.csv")
@quinnj
Copy link
Member

quinnj commented Feb 22, 2017

FWIW, HTTP.jl has an overhauled URI type that prints this way. The plan is to eventually move that code over here as a refresh once HTTP.jl matures a little more.

@samoconnor
Copy link
Contributor

The plan is to eventually move that code over here

Does anyone have a preference for:
A) making a new URIs.jl package with the HTTP.jl code and directing people to it from URIParser.jl/README.md; or
B) merging the HTTP.jl stuff into URIParser.jl ?

A) would allow packages to move over convenient and would allow to-be-obsoleted packages to never move.
B) would force things to consolidate more quickly, but some users will probably have to make small changes to handle HTTP.jl using SubString for URI fields where URIParser.jl uses String.

Another option would be do B) in conjunction with REQUIRE Julia 0.7- to shield 0.6 users from breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants