← 输入框|github.com|刷新
Skip to content

Develop tests for the URI parser and e-mail addresses #15

Closed

Description

@glynos

The main difficulty here would be that the existing framework supports HTTP URIs, and it's implementation isn't very clean. We'd need to refactor this parser into the boost::network::uri::http namespace first.

Dean is in favour of a 2-stage parsing approach, first a general parser then a specialized parser.

boost::network::uri::parse_uri
|
|
v
boost::network::uri::http::parse_uri boost::network::uri::mailto::parse_uri

Activity

  1. glynos commented on Oct 18, 2010

    @glynos
    MemberAuthor

    This should be quite easy and doesn't depend on an SMTP implementation. I think the problem with the URI code is that it is highly coupled to HTTP and needs to be refactored first.

  2. glynos commented on Sep 5, 2011

    @glynos
    MemberAuthor

    I renamed the issue with respect to recent changes in the URI class.

  3. glynos commented on Dec 10, 2011

    @glynos
    MemberAuthor

    There are unit tests for this in url_test.cpp

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions