only set `content-length: 0` header when empty body and `PUT`
only set `content-length: 0` header when empty body and `PUT`

https://developer.github.com/v3/#http-verbs

gpedro/gh-got,sindresorhus/gh-got