I added following code to a python script and when try to save it returns<br><br>Prints, never read 'printed' variable.<br><br>Code:<br><br><font size="3">req = context.REQUEST<br>addr = req.get('URL')<br>print addr</font><br clear="all">
<br><br>Regards,<br><br>- -<br>iarly selbir | ski0s<br><br>:wq!<br>
<br><br><div class="gmail_quote">On Fri, Jun 5, 2009 at 1:07 PM, Tres Seaver <span dir="ltr"><<a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
iarly selbir | ski0s wrote:<br>
> There are some variable similar $_SERVER['HTTP_HOST'] ( in php ) using<br>
> Plone?<br>
<br>
</div><a href="http://docs.zope.org/zope2/zope2book/source/BasicScripting.html#accessing-the-http-request" target="_blank">http://docs.zope.org/zope2/zope2book/source/BasicScripting.html#accessing-the-http-request</a><br>
<br>
<br>
Tres.<br>
- --<br>
===================================================================<br>
Tres Seaver +1 540-429-0999 <a href="mailto:tseaver@palladion.com">tseaver@palladion.com</a><br>
Palladion Software "Excellence by Design" <a href="http://palladion.com" target="_blank">http://palladion.com</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFKKULF+gerLs4ltQ4RAoaDAKCKsUpBH0Ehoeq1P7atU4jmMP31sQCfcbrO<br>
r5zVeV4j6W8ViON0vxrPrRo=<br>
=uaBa<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote></div><br>