From 5222f794344d583412f96e56107e4b85cb7833e6 Mon Sep 17 00:00:00 2001 From: hanez Date: Thu, 26 Mar 2026 00:36:52 +0100 Subject: [PATCH] Some more HTTP POST evaluation. Still broken! (0.39.10) --- CMakeLists.txt | 2 +- examples/data/htdocs/form_post.fun | 28 +++++- examples/snippets/parse_test2.fun | 12 +++ examples/snippets/test_parse.fun | 12 +++ lib/net/cgi.fun | 148 +++++++++++++++++++++++++---- 5 files changed, 176 insertions(+), 26 deletions(-) create mode 100755 examples/snippets/parse_test2.fun create mode 100755 examples/snippets/test_parse.fun diff --git a/CMakeLists.txt b/CMakeLists.txt index cb37caa..2dd8000 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(fun VERSION 0.39.9 LANGUAGES C) +project(fun VERSION 0.39.10 LANGUAGES C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) diff --git a/examples/data/htdocs/form_post.fun b/examples/data/htdocs/form_post.fun index ce15357..b83e798 100644 --- a/examples/data/htdocs/form_post.fun +++ b/examples/data/htdocs/form_post.fun @@ -16,21 +16,39 @@ cgi = CGI() cgi.content_type("text/html; charset=utf-8") pmap = cgi.params() -html = "

POST fields