Skip to content

Port is not being removed from URI in some cases #20

@zfletch

Description

@zfletch

The following test in uri_header_test.exs fails:

test "it removes the port part of the uri" do
  value = []
          |> HeaderValues.wrap()
          |> UriHeader.headers("example.com:8000/foo/bar")
          |> HeaderValues.get(:uri)

  assert value == "/foo/bar"
end

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