Skip to content

Commit

Permalink
added a test for ngx.HTTP_GATEWAY_TIMEOUT.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Dec 2, 2011
1 parent a3bc3fc commit f88d229
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions t/019-const.t
Expand Up @@ -32,3 +32,17 @@ GET /read
-4
-1
=== TEST 2: http constants
--- config
location /read {
content_by_lua '
ngx.say(ngx.HTTP_GATEWAY_TIMEOUT)
';
}
--- request
GET /read
--- response_body
504

0 comments on commit f88d229

Please sign in to comment.