beda-software / fhir-py

FHIR Client for python
MIT License
168 stars 31 forks source link

Allow urls to end in slash #78

Closed BSVogler closed 1 month ago

BSVogler commented 2 years ago

Prevents double slash in url.

Implements support for optional port in url #76

ruscoder commented 2 years ago

@BSVogler I reviewed the issue and PR again. It seems the logic of adding the default port can be merged. But let's move it to a separate function and add behavior for HTTP (80 port) either. And finally, cover this function with unit tests to make sure that it works correctly for all options.