open-hpi / openhpi

Other
6 stars 10 forks source link

Make X-Api-Version to match target #2717

Closed mohandev2 closed 6 years ago

mohandev2 commented 6 years ago

Currently x-api-version is hard-coded. When the target has a lesser version this does not work. Make the x-api-version match the target if it is less than the hard-coded version. If it is more, use the hard-coded version