Fix HTTP für Media
This commit is contained in:
		| @@ -3,7 +3,7 @@ local bot = {} | ||||
| bindings = require('otouto.bindings') | ||||
| utilities = require('otouto.utilities') | ||||
|  | ||||
| bot.version = '2.2.4.0' | ||||
| bot.version = '2.2.4.1' | ||||
|  | ||||
| function bot:init(config) -- The function run when the bot is started or reloaded. | ||||
| 	cred_data = load_cred() | ||||
|   | ||||
| @@ -780,7 +780,7 @@ function cache_file(result, url, last_modified) | ||||
| end | ||||
|  | ||||
| function get_http_header(url) | ||||
|   local doer = HTTP | ||||
|   local doer = http | ||||
|   local do_redir = true | ||||
|   if url:match('^https') then | ||||
| 	doer = https | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andreas Bielawski
					Andreas Bielawski