Fixed typo in HTTP client

* fixed location parsing after successful POST