aboutsummaryrefslogtreecommitdiff
path: root/http-status-codes
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-14 00:16:04 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-14 00:16:04 +0200
commite1b5f8e912b3aaca1719c5fd08c2152d9f7d5113 (patch)
treef2fd32f8d33ebbd21107d75547c29946fe21375c /http-status-codes
parentd62efd6aaa7a408e04484f26d97b3b74114cc4b6 (diff)
downloadgana-e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113.tar.gz
gana-e1b5f8e912b3aaca1719c5fd08c2152d9f7d5113.zip
start taler EC registry
Diffstat (limited to 'http-status-codes')
-rw-r--r--http-status-codes/.gitignore1
-rwxr-xr-xhttp-status-codes/extend.sh2
-rw-r--r--http-status-codes/extras.rec5
3 files changed, 7 insertions, 1 deletions
diff --git a/http-status-codes/.gitignore b/http-status-codes/.gitignore
new file mode 100644
index 0000000..861cc70
--- /dev/null
+++ b/http-status-codes/.gitignore
@@ -0,0 +1 @@
registry.rec
diff --git a/http-status-codes/extend.sh b/http-status-codes/extend.sh
index 679d541..ac09d89 100755
--- a/http-status-codes/extend.sh
+++ b/http-status-codes/extend.sh
@@ -8,7 +8,7 @@ cat "$@" > ${TARGET}
8 8
9for n in `seq 100 599` 9for n in `seq 100 599`
10do 10do
11 VAL=`recsel -e "Value = $n" -P Description iana.rec || true` 11 VAL=`recsel -e "Value = $n" -P Description iana.tmp || true`
12 CAPS=`echo ${VAL} | tr [a-z] [A-Z] | tr " -" "__"` 12 CAPS=`echo ${VAL} | tr [a-z] [A-Z] | tr " -" "__"`
13 recset -f Identifier -a "${CAPS}" -e "Value = $n" ${TARGET} 13 recset -f Identifier -a "${CAPS}" -e "Value = $n" ${TARGET}
14done 14done
diff --git a/http-status-codes/extras.rec b/http-status-codes/extras.rec
index 6251e4a..e01c387 100644
--- a/http-status-codes/extras.rec
+++ b/http-status-codes/extras.rec
@@ -11,3 +11,8 @@ Value: 509
11Description: Bandwidth Limit Exceeded 11Description: Bandwidth Limit Exceeded
12Reference: [Apache extension] 12Reference: [Apache extension]
13Identifier: BANDWIDTH_LIMIT_EXCEEDED 13Identifier: BANDWIDTH_LIMIT_EXCEEDED
14
15Value: 0
16Description: No status code, used if no HTTP status is available (uninitialized)
17Reference: [None]
18Identifier: UNINITIALIZED