~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: Add HTTPS test for HSTS header (AI reviewer feedback)
LearningCircuitc29d7d0e69e8
diff --git a/tests/security/test_security_headers.py b/tests/security/test_security_headers.pyindex acaf2b44c0..fbfa23115c 100644--- a/tests/security/test_security_headers.py+++ b/tests/security/test_security_headers.py@@ -58,6 +58,20 @@ class TestSecurityHeaders:# HSTS should NOT be set for non-HTTPS requestsassert "Strict-Transport-Security" not in response.headers+ def test_hsts_header_set_for_https(self, app, test_endpoint):+ """Test HSTS header is set correctly for HTTPS requests."""+ # Configure app to think we're using HTTPS+ app.config["PREFERRED_URL_SCHEME"] = "https"++ with app.test_client() as https_client:+ response = https_client.get(+ test_endpoint, environ_base={"wsgi.url_scheme": "https"}+ )+ assert "Strict-Transport-Security" in response.headers+ hsts = response.headers["Strict-Transport-Security"]+ assert "max-age=" in hsts+ assert "includeSubDomains" in hsts+class TestSecurityHeadersOnAPIEndpoints:"""Test security headers are set on API endpoints."""