Skip to content

Commit

Permalink
Add a purge function in the server
Browse files Browse the repository at this point in the history
  • Loading branch information
scotchi committed Nov 12, 2012
1 parent 402806d commit f6239d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srv.arc
Original file line number Diff line number Diff line change
Expand Up @@ -570,3 +570,5 @@ Connection: close"))
; gensymed names, and so the receiving fn gets args that are not
; strings but parsed values.

(def purge-from-proxy (resource)
(tcp-send "localhost" 80 (+ "PURGE /" resource "\r\n\n")))

0 comments on commit f6239d8

Please sign in to comment.