Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]CGI fakery expertise needed
- To: tlug@example.com
- Subject: CGI fakery expertise needed
- From: "Frank BENNETT (=?iso-2022-jp?B?GyRCJVUlaSVzJS8hISVZJU0lQyVIGyhC?= )" <bennett@example.com>
- Date: Tue, 20 Feb 2001 14:52:04 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <qz-V1D.A.aTD.JYgk6@example.com>
- Resent-Sender: tlug-request@example.com
Dear all, I've written a little CGI proxy in Python that helps me to collect information from the Web. Anchors and form references and whatnot are rewritten so that they reinvoke the CGI, with a variable set to the address of the target page. It's working very well for the most part, but I've hit one snag. The Japanese Supreme Court site at: http://courtdomino.courts.go.jp/home.nsf/pageview?OpenView#whatsnew messes up when accessed via my CGI tool. The CGI is written in Python. It uses a simple call to urllib.urlopen(url).read() to grab the file. What I think is happening is that the Domino server wants to place a cookie in the calling CGI, and breaks when the magic doesn't take at this end. I have written CGI scripts that set and retrieve cookies, but I have never needed to mimic a browser before. I've looked around for info on cookies, and can't seem to find info on them anywhere. Are they in the CGI spec? HTTP? HTML? I'm sort of lost. Any help greatly appreciated. Cheers, Frank
- Follow-Ups:
- Re: CGI fakery expertise needed
- From: Jake Morrison <jake_morrison@example.com>
- Re: CGI fakery expertise needed
- From: Jake Morrison <jake_morrison@example.com>
- Re: CGI fakery expertise needed
- From: Jim Tittsler <jwt-tlug@example.com>
- Re: CGI fakery expertise needed
- From: Darren Cook <darrenj@example.com>
- Re: CGI fakery expertise needed
- From: "Frank BENNETT (=?iso-2022-jp?B?GyRCJVUlaSVzJS8hISVZJU0lQyVIGyhC?= )" <bennett@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Help with Installing Linux on a NEC PC 9821V12 machine.
- Next by Date: Re: CGI fakery expertise needed
- Prev by thread: Re: Help with Installing Linux on a NEC PC 9821V12 machine.
- Next by thread: Re: CGI fakery expertise needed
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links