guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add support for HTTP proxies


From: Taylan Ulrich B.
Subject: Re: [PATCH] Add support for HTTP proxies
Date: Wed, 12 Jun 2013 16:41:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix)

address@hidden (Ludovic Courtès) writes:

> What about just:
>
>   (make-parameter (getenv "http_proxy"))

The empty-string case needs to be handled specially, no?  Perhaps:

  (define current-http-proxy
    (make-parameter (getenv "http_proxy")
                    (lambda (proxy)
                      (and (not (string-null? proxy))
                           proxy))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]