Basically I had the issue that I was doing a POST to an arc url but I wanted to keep the parameters I was passing through GET as well. I noticed that in the case of POST handle-request-thread (srv.arc) throws away the GET args. I made a little change to handle-post to take the following arguments 84 (def handle-post (i o op args n cooks ip) And I call that in handle-request-thread by doing the following: 70 post (handle-post i o op args n cooks ip) Lastly in handle-post itself, I combine the args with the POST args: 94 (respond o op (+ (parseargs (string (rev line))) args) cooks ip)))) Would be interested in what people think of doing it this way? Does this seem sensible? It means that all the get variables will be appended after the post variables, which seems pretty standard to me rather than throwing them away. I only just thought of this and only did limited testing so it may be entirely wrong :). |