aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
Commit message (Expand)AuthorAgeFilesLines
* net.http: Throw error if missing TLS context for HTTPS requestKim Alvefur2024-08-081-0/+3
* net.http: Add missing log parameterMatthew Wild2023-02-091-1/+1
* net.http: Allow using DANE via options or per request settingsKim Alvefur2022-02-051-1/+5
* net.http: fail open if surrounding code does not configure TLSJonas Schäfer2021-08-291-1/+1
* net.http: Send entire HTTP request header as one writeKim Alvefur2021-07-081-5/+3
* net.http: track time of request for debug/stats purposesMatthew Wild2020-12-091-0/+2
* net.http: Add support for streaming chunked/large responsesMatthew Wild2020-10-211-0/+18
* Merge 0.11->trunkMatthew Wild2020-09-151-0/+3
|\
| * net.http: Add feature discovery (currently just contains SNI)Matthew Wild2020-09-151-0/+3
| * net.server: Backport client parts of SNI support from trunk (#409)Kim Alvefur2020-08-171-1/+1
* | net.http: http.request() promise now resolves with response (breaking change)Matthew Wild2020-08-251-1/+2
* | net.http: use new net.http.errors lib for creating error objectMatthew Wild2020-08-251-2/+2
* | Merge 0.11->trunkMatthew Wild2020-08-081-0/+12
|\|
| * net.http: Add request:cancel() methodMatthew Wild2020-08-081-0/+11
| * net.http: Re-expose destroy_request() functionMatthew Wild2020-08-081-0/+1
* | Merge 0.11->trunkMatthew Wild2020-07-071-2/+3
|\|
| * net.http: Fix traceback on invalid URL passed to request()Matthew Wild2020-07-071-2/+3
* | net.http: Return a Promise if no callback is givenKim Alvefur2020-05-061-1/+17
* | net.http: Set ALPN on requestsKim Alvefur2019-11-291-1/+1
* | net.http: Pass server name along for SNI (fixes #1408)Kim Alvefur2019-09-011-1/+1
* | net.*: Remove tostring call from loggingKim Alvefur2019-07-301-2/+2
|/
* net.http: Manually merge settings (fixes #1231)Kim Alvefur2018-11-091-2/+6
* Many things: switch from hacky multi-arg xpcall implementations to a standard...Matthew Wild2018-10-261-3/+4
* Merge 0.10->trunkKim Alvefur2018-04-061-0/+1
|\
| * net.http: Import setmetatable into local scope (fixes #1125)Kim Alvefur2018-04-061-0/+1
* | Merge 0.10 -> trunkMatthew Wild2018-04-041-1/+1
|\|
| * net.http: Fix parameter order to http request callbacksMatthew Wild2018-04-041-1/+1
* | net.http: Allow enabling/disabling error suppression, useful for testsMatthew Wild2018-03-241-2/+7
* | net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)Matthew Wild2018-03-241-1/+1
* | vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
* | net.http: Refactor to use new net.connect API, brings support for async DNSMatthew Wild2018-02-261-70/+81
* | net.http: Rename handler to conn, for consistency with all our other codeMatthew Wild2018-02-231-3/+3
* | net.http: Remove use of 'conn' (raw socket object returned by addclient)Matthew Wild2018-02-231-9/+10
|/
* net.http: Add option for disabling TLS certifictate validationKim Alvefur2017-07-071-1/+2
* net.http: Validate HTTPS certificates (fixes #659)Kim Alvefur2017-07-071-0/+21
* net.http: Move default SSL/TLS settings into options, allowing them to be ove...Kim Alvefur2017-07-071-2/+4
* net.http: Expose defaultsKim Alvefur2017-07-071-0/+1
* net.http: Remove duplicate 'request' entryKim Alvefur2017-07-071-1/+0
* net.http: Add request.url, which is the original full URL as a stringMatthew Wild2017-04-211-0/+1
* net.http: Fire new events: pre-request, request-connection-error, request, re...Matthew Wild2017-04-211-1/+19
* net.http: Allow creation of http client objects, with custom optionsMatthew Wild2017-04-211-3/+22
* net.http: Pass error all the way to callbackKim Alvefur2017-04-021-3/+3
* net.http: Strip trailing whitespaceKim Alvefur2016-12-301-1/+1
* net.http: Remove unused imports [luacheck]Kim Alvefur2016-12-301-3/+3
* net.http: Add quotes around ids in log messagesMatthew Wild2016-07-271-3/+3
* net.http: Add log messages for requests, including their id (so "calling call...Matthew Wild2016-07-071-1/+13
* net.http: Add request.id to every request object (can be overridden by provid...Matthew Wild2016-07-071-0/+4
* net/http: Use server.addclientdaurnimator2013-12-181-11/+6
* net.*: Remove use of module() functionKim Alvefur2015-02-211-16/+18
* Merge 0.9->0.10Kim Alvefur2014-10-261-1/+1
|\