File: simple-request

package info (click to toggle)
lua-http 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,100 kB
  • sloc: makefile: 60; sh: 16
file content (15 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# lua-http debian/tests/simple-request
#
# Runs simple_request.lua from the lua-http examples, that
# "verbosely fetches an HTTP resource"
#
# Author: Santiago Ruano Rincón <santiago@debian.org>


set -e

# lua-lpeg_patterns.http (as of 2020-11-23) only support lua5.1 and 5.2

lua5.2 examples/simple_request.lua https://debian.org