Переглянути джерело

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;
 }