Skip to content
This repository
Browse code

added a test for ngx.HTTP_GATEWAY_TIMEOUT.

  • Loading branch information...
commit f88d229ce6d87e411f2a2b8929be33f496b4e632 1 parent a3bc3fc
Yichun Zhang authored December 02, 2011

Showing 1 changed file with 14 additions and 0 deletions. Show diff stats Hide diff stats

  1. 14  t/019-const.t
14  t/019-const.t
@@ -32,3 +32,17 @@ GET /read
32 32
 -4
33 33
 -1
34 34
 
  35
+
  36
+
  37
+=== TEST 2: http constants
  38
+--- config
  39
+    location /read {
  40
+        content_by_lua '
  41
+            ngx.say(ngx.HTTP_GATEWAY_TIMEOUT)
  42
+        ';
  43
+    }
  44
+--- request
  45
+GET /read
  46
+--- response_body
  47
+504
  48
+

0 notes on commit f88d229

Please sign in to comment.
Something went wrong with that request. Please try again.