浏览代码

Comment incomplete feature for additional response headers

bel2125 8 年之前
父节点
当前提交
5f54d6441f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -3281,8 +3281,8 @@ send_additional_header(struct mg_connection *conn)
 	int i = 0;
 #if 0
 	i += mg_printf(conn, "Strict-Transport-Security: max-age=%u\r\n", 3600);
-#endif
 	i += mg_printf(conn, "X-Some-Test-Header: %u\r\n", 42);
+#endif
 	return i;
 }