lua-http
lua-http copied to clipboard
HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
@daurnimator http ver 0.4 ``` local request = require "http.request" local headers, stream = request.new_from_uri('https://kotobank.jp/word/%25E3%2583%2596%25E3%2583%25A9%25E3%2583%2583%25E3%2583%2589%25E3%2583%25AA%25E3%2583%25BC%2528James+Bradley%2529-1588121'):go() ``` You will not proceed to the next step in the process. ``` $ curl...
Thank you @daurnimator for an excellent package and just as much, your responsive support. We have observed an issue on Debian 9 with (latest) lua packages installed. The script we...
Adds :connections() method to http.server objects, so that external code can see how many client connections are actively being handled. A project needed this for statistics and load balancing.
Hello, When I make a simple request (with the exact code given by the example « simple request ») with this url (it's not my site): https://www.partage-le.com/ I get this...
Blocked on figuring out what to send to a HTTP 2 proxy in `:path` (absolute-form? or not?) See https://github.com/http2/http2-spec/issues/768 Related: - https://github.com/curl/curl/issues/3570
By passing a custom `dns_resolver` object you can: - Use a custom nameserver - Specify host=>ip mapping manually using a cqueues `dns.hosts` object It has been written as a base...
Since it wasn't obvious to me how to use each() I figure it would be useful to have a little example in the documentation.
This alleviates the need for our own standard name to openssl name map for ciphers. Requires https://github.com/wahern/luaossl/pull/142 and hence a luaossl version requirement bump.