woorea / openstack-java-sdk

OpenStack Java SDK
Apache License 2.0
194 stars 198 forks source link

Let all request path start with "/" #208

Closed dominikholler closed 6 years ago

dominikholler commented 6 years ago

The convention that the path of an OpenStackRequest starts with an "/" or is empty is introduced. The majority of the code was written before this change according this convention anyway. This way the resteasy-connector does not need to add the "/" between the endpoint and the path. This way the generated URLs does not contain unintended double "/" anymore, which may confuse the OpenStack server.

@simon3z @woorea do you think this is a good way to get rid of the double slashes?

dominikholler commented 6 years ago

@woorea , thanks again for having a look!