[Zope] Howto ZClient

FR Chalaoux chalaoux@cybercable.fr
Wed, 09 Jan 2002 22:37:55 +0100


Hi Zoppistes and Thank a lot Loren for your answer.

1/ When you wrote this url ( "http://www.allocine.fr/goto.asp?RD=P0049"
) is working perfectly you mean in webclient method? Cause for me as you
saw in my last mail, zope is looking for this object "goto.asp?RD=P0049"
and it is not an zope object. It is a shitty asp file :(

2/ Is there a tip to, by program, answer to the proxy without having to
type username and passwd into the browser dialog?



> Hi,
>
> I tried to use "Using ZClient to Access Another Server" howto but I
got
> some difficulties :
>
> 1/ When the URL is "http://www.allocine.fr/goto.asp?RD=P0049" is
present
> then I got this funny error , any idea ? :

I just tried that URL and got a nice HTML page back -- no errors -- so I

guess you solved that problem.


Bye, FR.

>
> 2/ The others parameters in the webclient method are 'username' and
> 'passwd'. I am behind a proxy which ask me the first time I try to
> access Internet a username and my passwd. Are these couple of
parameters
> the same in the method and in my proxy request, cause even with my
> username and the passwd in the method I have to insert the couple?

Look in ../lib/python/ZPublisher/Client.py and you will see that the
username and passwd are inserted into the URL where they work with the
browser's basic authentication. This has no relation to your proxy.

-- Loren

--
     .--.
    |o_o |
    |:_/ |
   //   \ \    Chalaoux François-Régis
  (|     | )   mailto:chalaoux@cybercable.fr
 /'\_   _/`\   http://www.advl.org/
 \___)=(___/