lua-resty-http icon indicating copy to clipboard operation
lua-resty-http copied to clipboard

Lua http client driver for the ngx_lua based on the cosocket API

Results 12 lua-resty-http issues
Sort by recently updated
recently updated
newest added

使用代码形式如下: local ok, code, headers, status, body =hc:request { url = url, method = "POST", body = postBody, headers = {["Content-Type"] = "application/x-www-form-urlencoded" } } 返回信息: code ='read status line...

现在手头有个问题。 使用这个组件通过http代理来请求https地址的时候,老是提示handshake failed,请问该怎么解决?

os:mac docker image build by ``` FROM alpine MAINTAINER edwin_uestc ENV LUA_SUFFIX=jit-2.1.0-beta1 \ LUAJIT_VERSION=2.1 \ NGINX_PREFIX=/opt/openresty/nginx \ OPENRESTY_PREFIX=/opt/openresty \ OPENRESTY_SRC_SHA1=1a2029e1c854b6ac788b4d734dd6b5c53a3987ff \ OPENRESTY_VERSION=1.9.7.3 \ VAR_PREFIX=/var/nginx RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories RUN...

I am using NGINX 1.9.13 with lua-resty-http. The CPU load is abnormally too hight when making HTTP requests via the lua http resty module ( https://github.com/liseen/lua-resty-http) : ``` PID USER...

[error] 4733#0: *1 peer closed connection in SSL handshake, client: 172.16.48.28, server: localhost, request: "POST /lua/index HTTP/1.1", host: "172.16.48.31"

I'm using lua with nginx and I need to do some piping. I need to auth in lua on 3rd party website and then download file but not to my...

hey, 你好。 问下是否支持发送异步http请求?

https://github.com/liseen/lua-resty-http/blob/master/lib/resty/http.lua#L193 here, is that missing the handle of error being other than nil or false(i.e. connection was closed remotely by accident)?

Hi, I didn't see that there is already a `lua-resty-http`, so I implemented our own: https://github.com/bsm/lua-resty-http. My version includes chunked response handling. Would be really great to merge our code...