You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default http transport is Apache HTTP Client (link). But it doesn't support url port (ie. I can't use http://locahost:8080/ as BASE_URL_QBO in tests. Requests will be made to localhost:80).
I think root cause is that -1 is used as port in HttpTarget (source)
Is it possible to replace hardcoded value with url.getPort() (if port ommitted - it returns -1 anyway)? Happy to open PR.
The text was updated successfully, but these errors were encountered:
Default http transport is Apache HTTP Client (link). But it doesn't support url port (ie. I can't use http://locahost:8080/ as
BASE_URL_QBO
in tests. Requests will be made tolocalhost:80
).I think root cause is that
-1
is used asport
in HttpTarget (source)Is it possible to replace hardcoded value with
url.getPort()
(if port ommitted - it returns-1
anyway)? Happy to open PR.The text was updated successfully, but these errors were encountered: