Skip to content

Commit

Permalink
Sync status lines 307,308 with nginx
Browse files Browse the repository at this point in the history
This fixes openresty#87
  • Loading branch information
kapouer authored Nov 15, 2020
1 parent 4143dae commit 909bdd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ngx_http_srcache_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ static ngx_str_t ngx_http_status_lines[] = {
ngx_string("302 Moved Temporarily"),
ngx_string("303 See Other"),
ngx_string("304 Not Modified"),
ngx_null_string, /* "305 Use Proxy" */
ngx_null_string, /* "306 unused" */
ngx_string("307 Temporary Redirect"),
ngx_string("308 Permanent Redirect"),

/* ngx_null_string, */ /* "305 Use Proxy" */
/* ngx_null_string, */ /* "306 unused" */
/* ngx_null_string, */ /* "307 Temporary Redirect" */

#define NGX_HTTP_LAST_LEVEL_300 305
#define NGX_HTTP_LAST_LEVEL_300 309
#define NGX_HTTP_LEVEL_300 (NGX_HTTP_LAST_LEVEL_300 - 301)

ngx_string("400 Bad Request"),
Expand Down

0 comments on commit 909bdd1

Please sign in to comment.