Rewrite echoheaders to use openresty's templating.

This automatically escapes things, and makes the code easier to read.

template.lua was slightly modifed to not escape /, so it is vendored.
This commit is contained in:
Ryan Hitchman 2017-06-14 17:22:51 -07:00
parent 245e6b0b0e
commit e5d5bda1ca
4 changed files with 573 additions and 61 deletions

View file

@ -1,7 +1,7 @@
all: push
# TAG 0.0 shouldn't clobber any release builds
TAG = 1.5
TAG = 1.6
PREFIX = gcr.io/google_containers/echoserver
container: