Alex Zhang
Alex Zhang
Introduce an SQLite with the in-memory file path is still a bit heavy for us, we need some further discussions.
@whatwewant Maybe I didn't catch your mean. Could you provide some cases to show me the problem? It seems good to me for the detection of Content-Type, is there any...
@whatwewant Actually I wanna keep it consistent with Python requests library. I have glanced requests' source code, it guessing the encoding way of content and decoding it. So maybe we...
1. 当然是用 ngx.worker.id 也是可以保证 timer 的唯一性的。 2. 在目前的方式下,如果不对 CHECKUP_TIMER_KEY 这个键设置超时,那么当持有 timer 的进程 crash 之后,重新启动的 worker 无法创建出新的 timer,当然,如果共享内存字典面临内存不足的情况,键也是有可能被强制移除的,这就另当别论了。
@tsui66 Dou you have any good idea about it?
@wangxiaochuang Feel free to submit PR :)
@stevenlee87 What's the problem? Your script do print the response but why you expect no response?
Sorry for the delay, you may try to install from LuaRocks.
@marcoroganovic Sorry i'm afraid that i don't understand your mean. Could you give me an example? Or i guess you are saying the `Authorization` header?
In my opinion, the process of authorization is not bound with lua-resty-requests, you can prepare these authorization related headers first and use them when calling methods provided by this library.