diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 538ddda..4175bd8 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -455,7 +455,7 @@ void cgit_print_age(time_t t, time_t max_relative, char *format) | |||
455 | 455 | ||
456 | void cgit_print_http_headers(struct cgit_context *ctx) | 456 | void cgit_print_http_headers(struct cgit_context *ctx) |
457 | { | 457 | { |
458 | if (ctx->cfg.embedded) | 458 | if (ctx->env.no_http && !strcmp(ctx->env.no_http, "1")) |
459 | return; | 459 | return; |
460 | 460 | ||
461 | if (ctx->page.status) | 461 | if (ctx->page.status) |