Skip to content

improve query/form handling (tlsuv_http_req_query/tlsuv_http_req_form) #246

@ekoby

Description

@ekoby
  • make repeated _query/_form calls additive up to the max limit
  • handle query correctly if request path contains query parameters already
   req = tlsuv_http_req(clt, "GET", "/path?q=test", data);
   tlsuv_http_req_query(req, 1, &(tlsuv_http_pair){ "foo", "bar" });
   tlsuv_http_req_query(req, 1, &(tlsuv_http_pair){ "bar", "baz" });

should make request GET /path?q=test&foo=bar&bar=baz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions