Welcome to the CHICKEN Scheme pasting service

Location header added by andyjpb on Thu Aug 14 21:44:38 2014

(use intarweb uri-common)

(write-response
  (make-response
    port: (current-output-port)
    status: 'found
    headers: (headers `((location  "/hello")))))

(write-response
  (make-response
    port: (current-output-port)
    status: 'found
    headers: (headers `((location  "http://example.net/hello")))))

(define test-uri (make-uri scheme: "https" host: "www.knodium.com" path: '(/ "Shibboleth.sso" "Login") query: `((target . "a") (entityID . ,"b"))))

(write-response
  (make-response
    port: (current-output-port)
    status: 'found
    headers: (headers `((location ,test-uri)))))

(write-response
  (make-response
    port: (current-output-port)
    status: 'found
    headers: (headers `((location  ,(uri->string test-uri))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which procedure can be used to check whether its argument is a symbol?
Visually impaired? Let me spell it for you (wav file) download WAV