[squeak-dev] [ANN] WebClient and WebServer 1.0 for Squeak

Alexander Lazarević laza at blobworks.com
Mon May 10 09:40:56 UTC 2010


I seem to have some issues while using a proxy with WebClient and
WebClient-HTTP.

I had a proxy configuration set in the Preferences Browser (localhost
8888). To not use any proxyserver it was sufficient before to just
erase the server name from the preferences. You just can't set an
empty string for the proxy port preference anyway.
Now WebClient only seems to check if the proxyserver name is nil but
not if it is empty and obviously fails to connect to some proxy with
blank hostname.

Further if there is some valid proxy setting in place, it returns a
400 bad request. I guess it's the missing protocol/host in the url.

HTTP/1.0 400 Bad Request
server: squid/2.6.STABLE18
date: Mon, 10 May 2010 09:26:18 GMT
content-type: text/html
content-length: 1485
expires: Mon, 10 May 2010 09:26:18 GMT
x-squid-error: ERR_INVALID_REQ 0
x-cache: MISS from xyz.host.de
x-cache-lookup: NONE from xyz.host.de:80
proxy-connection: close

[...]

GET /trunk/?C=M;O=D HTTP/1.1
User-Agent: Squeak4.1alpha-10129
Authorization: Basic bGF6YTpwb3BwZW4=
Accept: */*
Host: source.squeak.org

[...]

Alex



More information about the Squeak-dev mailing list