[WIP] add tests for http put and https

There are missing tests for HTTP PUT and HTTPS.

- [ ] test for HTTP PUT
- [ ] test for HTTPS
- [ ] if problems fix them