Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/async/http/endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def authority(ignore_default_port = true)

# Return the path and query components of the given URL.
def path
buffer = @url.path || "/"
buffer = @url.path.dup || "/"

if query = @url.query
buffer = "#{buffer}?#{query}"
Expand Down Expand Up @@ -230,4 +230,4 @@ def tcp_endpoint
end
end
end
end
end