weary
weary copied to clipboard
Minitest::UnexpectedError: NoMethodError: undefined method `+' for nil:NilClass
When you try to put code with out "host" in your url you get this error. I think this unlogical because I put my domain variable and I expected to recieved it without any problem. this occured in this place:
def http_host
uri = @request.uri
uri.host + (uri.normalized_port ? ":#{uri.normalized_port}" : "")
end
PING PING )