Skip to content

Commit

Permalink
A Varnish test for Fuseki [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
BorderCloud committed Aug 18, 2018
1 parent fe6ded0 commit 20ea51c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rewriting.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ varnish v1 -vcl+backend {


client c1 {
#POST or GET http://example.org/XXXX/sparql?query=
#POST or GET http://example.org/XXXX/sparql?update=
#GET http://example.org/XXXX/sparql?query=
txreq -req "GET" -url "/sparql?query=test"
rxresp

#POST http://example.org/XXXX/sparql?query=
txreq -req "POST" -url "/sparql" -body "query=test"
rxresp

#POST http://example.org/XXXX/sparql?update=
txreq -req "POST" -url "/sparql" -body "update=test"
rxresp
} -run

# varnishtest rewriting.vtc
# varnishd -C -f rewriting.vtc

0 comments on commit 20ea51c

Please sign in to comment.