Hello,

Is there a way to escape double quotes in probe requests? I need to send a JSON request and I've tried %22 but checking the packets with tcpdump it seems Varnish doesn't convert escapes back to double quotes. For example:

  .probe = {
    .request =
      "POST /probe.php HTTP/1.1"
      "Host: virtualhost.example.com"
      "Content-Type: application/json"
      "Connection: close"
      ""
      "{%22key%22:%22value%22}";
  }

Thanks,
Igor
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to