Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ekoby opened this issue Oct 15, 2024 · 0 comments
Open

Comments

@ekoby
Copy link
Member

ekoby commented Oct 15, 2024

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant