Update lib/resty/http.lua

sometimes the server returns empty body, but the request is still valid (e.g. when calling webservices)

check if http response is 200 and then return ok with empty body
Merge pull request #8 from qrof/patch-1

Update lib/resty/http.lua