Skip to content

remove http::Uri from public api #178

Open

Description

@fafhrd91

http::Uri is fine for transport layer, but it is pretty crappy as public api

Activity

  1. DoumanAsh commented on Apr 13, 2018

    @DoumanAsh
    Contributor

    Do you intend to replace it with something?
    We still need some Uri manipulation options, even crappy http:Uri is fine

  2. fafhrd91 commented on Apr 13, 2018

    @fafhrd91
    MemberAuthor

    we have to replace it with something.

  3. fafhrd91 commented on Apr 17, 2018

    @fafhrd91
    MemberAuthor

    i started work on new functionality.

    @DoumanAsh i am going to deprecate .uri_mut(),
    you can not modify uri for path normalization, routing happens before any middleware get called.

    for normalizatin we need to come up with different approach. i am thinking about sub-request.

  4. kamek-pf commented on Sep 21, 2018

    @kamek-pf

    Some way to get the full URL from a request would definitely be useful.

  5. DoumanAsh commented on Nov 23, 2018

    @DoumanAsh
    Contributor

    @fafhrd91 Do we still want to remove http::Uri from publci API?

  6. added
    C-improvement
    on Nov 23, 2018
  7. fafhrd91 commented on Nov 23, 2018

    @fafhrd91
    MemberAuthor

    We need replacement first

  8. kornelski commented on Apr 13, 2019

    @kornelski
    Contributor

    BTW, WHATWG recommends using the term URL, because the new spec has unified or replaced the old theoretical flavors of {U,I}R{I,L}s.

    https://url.spec.whatwg.org/#goals

    So while you're changing it, I recommend switching to the name URL. It may even help with the transition.

    And there's the url crate based on the current standard.

  9. added
    B-semver-major
    on Jan 20, 2020
  10. removed
    B-semver-major
    on Mar 8, 2021
  11. modified the milestones: actix-web v4, on Dec 7, 2021
  12. added
    A-http
    A-web
    on Dec 7, 2021
  13. removed this from the milestone on Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-httpA-webC-improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions