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

Adding the QueryItem struct in path #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adding the QueryItem struct in path #268

wants to merge 1 commit into from

Commits on Oct 29, 2018

  1. Adding the QueryItem struct in path

    As requested in #206, building an URI from a builder should have a
    smaller granularity.
    
    A struct `QueryItem` has been added. It holds the
    elements of a query component.
    
    A method `new` inside `PathAndQuery` has been added.
    It  that requires a `path` and a list of `QueryItem` and
    build a new `PathAndQuery` from them.
    
    The URI builder could hold both a `String` and a `Vec<QueryItem>` fields
    instead of one `parts` field and could provide new methods
    to configure the path and the query separately.
    yageek committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    fefbcd5 View commit details
    Browse the repository at this point in the history