Skip to content

Instantly share code, notes, and snippets.

@aondio
Created April 16, 2019 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aondio/72480e8227db0d73cdebb0184613e5b1 to your computer and use it in GitHub Desktop.
Save aondio/72480e8227db0d73cdebb0184613e5b1 to your computer and use it in GitHub Desktop.
http.init(0);
http.req_copy_headers(0)
http.req_set_method(0, "HEAD");
# // Generate the next URL by incrementing the first
# // number sequence found and send it back to Varnish.
# // If no number sequence is found, the request is skipped.
http.req_set_url(0, http.prefetch_next_url());
http.req_send_and_finish(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment