I've been making use of the very clever recipe outlined at<br> <a href="http://schemecookbook.org/Cookbook/WebFetchingHttpsUrl">http://schemecookbook.org/Cookbook/WebFetchingHttpsUrl</a><br>for making use of https://... URLs.<br>
<br>Today I wanted to route the requests through a debugging proxy server (<a href="http://www.fiddlertool.com/">http://www.fiddlertool.com/</a>) to see why they were failing, but for some reason, setting the current-proxy-servers parameter doesn't work.<br>
<br>When I do:<br><br>(module url-test mzscheme<br> (require (<span style="background-color: rgb(255, 255, 0);">lib "url.ss" "net")</span>)<br><br> (current-proxy-servers '(("http" "localhost" 8888)))<br>
(define p (get-pure-port (string->url "<a href="https://www.google.com/">https://www.google.com/</a>")))<br> (display-pure-port p))<br><br>the proxy url is used.<br><br>However, when I change the above to:<br>
<br><br>
(module url-test mzscheme<br>
(require<span style="background-color: rgb(255, 255, 0);"> "ssl-url.ss") </span> ; From: <a href="http://schemecookbook.org/Cookbook/WebFetchingHttpsUrl">http://schemecookbook.org/Cookbook/WebFetchingHttpsUrl</a><br>
(current-proxy-servers '(("http" "localhost" 8888)))<br>
(define p (get-pure-port (string->url "<a href="https://www.google.com/">https://www.google.com/</a>")))<br>
(display-pure-port p))<br><br>The program doesn't seem to run through the proxy server. It does, however, properly work.<br><br>Any suggestions for how I could tweak ssl-url.ss to leverage the proxy server?<br><br>
Thanks,<br>Ben<br><br>-- <br>Have an idea for software? I can make it happen - <a href="http://www.ideas2executables.com">http://www.ideas2executables.com</a><br>My Blog: <a href="http://benjisimon.blogspot.com">http://benjisimon.blogspot.com</a>