Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29742

Re: How to apply the user's HTML environment in a Python programme?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <overhaalsgang_24_bob@me.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; '21,': 0.07; 'distributing': 0.07; 'subject:How': 0.09; 'python': 0.09; 'fetch': 0.09; 'imply': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "wouldn't": 0.11; 'do,': 0.15; 'from:addr:me.com': 0.16; 'hmm.': 0.16; 'jerry': 0.16; 'subject:user': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; 'systems.': 0.18; '(or': 0.18; 'trying': 0.21; 'machine.': 0.22; "user's": 0.22; 'cc:2**0': 0.23; 'third-party': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; "i'm": 0.29; 'fri,': 0.30; 'url:home': 0.33; 'received:google.com': 0.34; 'third': 0.34; 'remote': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'wanted': 0.36; 'client': 0.36; 'should': 0.36; 'possible': 0.37; 'uses': 0.37; 'rather': 0.37; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'application': 0.40; 'skip:" 10': 0.40; 'your': 0.60; 'matter': 0.61; 'first': 0.61; 'details': 0.63; 'direct': 0.69; 'programme': 0.69; 'sounds': 0.71; 'avoid.': 0.84; 'proposal:': 0.84; 'bob': 0.91; 'dennis': 0.91; 'good,': 0.91; 'hill': 0.96
Newsgroups comp.lang.python
Date Sat, 22 Sep 2012 04:38:08 -0700 (PDT)
In-Reply-To <mailman.1033.1348258203.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=77.167.72.50; posting-account=uv_KgQoAAABcaVT0RN3jt3k5T7-9IAK0
References <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> <mailman.1006.1348233763.27098.python-list@python.org> <b6b4f390-1f33-452d-9d78-5681f4557d96@googlegroups.com> <CADwdpyZ1Px8=m3JO18acvRf0YOB5TffQY_p15bu4rmb8D-hpeA@mail.gmail.com> <mailman.1033.1348258203.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 77.167.72.50
MIME-Version 1.0
Subject Re: How to apply the user's HTML environment in a Python programme?
From BobAalsma <overhaalsgang_24_bob@me.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1074.1348313892.27098.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348313892 news.xs4all.nl 6909 [2001:888:2000:d::a6]:36789
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29742

Show key headers only | View raw


Op vrijdag 21 september 2012 22:10:04 UTC+2 schreef Dennis Lee Bieber het volgende:
> On Fri, 21 Sep 2012 09:36:08 -0400, Jerry Hill
> 
> declaimed the following in gmane.comp.python.general:
> 
> 
> 
> > On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
> 
> > > Thanks, Joel, yes, but as far as I'm aware these would all require the Python programme to have the user's username and password (or "credentials"), which I wanted to avoid.
> 
> > 
> 
> > No matter what you do, your web service is going to have to
> 
> > authenticate with the remote web site.  The details of that
> 
> > authentication are going to vary with each remote web site you want to
> 
> > connect to.
> 
> 
> 
> 	Hmmm, convoluted but presuming the "login" third party site uses
> 
> cookies... Would it be possible to use Javascript on the client "copy"
> 
> the HTML from the third-party and then transmit it to the application
> 
> rather than having the application trying to do a direct fetch given
> 
> just the URL?
> 
> 
> 
> 	This should keep the authentication local to the client machine.
> 
> 
> 
> 
> 
> -- 
> 
> 	Wulfraed                 Dennis Lee Bieber         AF6VN
> 
>         wlfraed@....com    HTTP://wlfraed.home.netcom.com/

Wulfraed, yes, as with David's proposal: this sounds good, but I wouldn't know the first thing about Javascript... 
I'm also concerned that both solutions would seem to imply distributing software (or "software") to the clients systems.
Hmm.

Bob

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 05:57 -0700
  Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 09:22 -0400
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
      Re: How to apply the user's HTML environment in a Python programme? Jerry Hill <malaclypse2@gmail.com> - 2012-09-21 09:36 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:58 -0700
        Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 10:15 -0400
          Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-10-01 07:19 -0700
            Re: How to apply the user's HTML environment in a Python programme? Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:17 -0700
        Re: How to apply the user's HTML environment in a Python programme? Peter Otten <__peter__@web.de> - 2012-09-21 16:33 +0200
      Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 16:09 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
          Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-22 11:18 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
  Re: How to apply the user's HTML environment in a Python programme? David Smith <davids@invtools.com> - 2012-09-21 11:28 -0400
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
  Re: How to apply the user's HTML environment in a Python programme? Thomas Jollans <t@jollybox.de> - 2012-09-22 14:01 +0200

csiph-web