Jerl Simpson wrote:
> The plan was to not use a web server, but to write my own...which I did
> with Python.
>
> Basically all I did was put a listen() into a while loop. Once I got
> the connection, I created a thread to read the socket. Once I could
> read the socket, I read the data in, pa
I wanted to post a follow up to this thread.
I figured out what I needed and Python was it.
The plan was to not use a web server, but to write my own...which I did with Python.
Basically all I did was put a listen() into a while loop. Once I
got the connection, I created a thread to read the so
Jerl Simpson wrote:
> The only piece I don't have going the Python route is actually
> getting the GET
Which pieces do you have so far? If it is just Python, then you don't have all
the pieces yet. If you already have a server, which one are you using?
> Sorry, accidentally sent the last
> Subject:
> Re: [Tutor] HTTP GET Request
> From:
> paul brian <[EMAIL PROTECTED]>
> Date:
> Tue, 27 Sep 2005 17:04:46 +0100
> To:
> Jerl Simpson <[EMAIL PROTECTED]>
>
> To:
> Jerl Simpson <[EMAIL PROTECTED]>
> CC:
> tutor@python.org
>
Sorry, accidentally sent the last one before I was finished.
I was saying, I just lack getting the GET URI into a variable, and then
finding out the best way to parse it into it's components using Python.
Thanks again,
JerlOn 9/27/05, Jerl Simpson <[EMAIL PROTECTED]> wrote:
I don't think I explai
I don't think I explained my situation clearly enough.
Let me tell you what I'm doing.
First, I'm looking for an excuse to learn Python.
Second, I'm running a server that takes request from a remote
server. This request is an HTTP GET request. I used to have
(lost the source) a C program I wrot
Jerl Simpson wrote:
> Hello,
>
> I have been looking through some of the HTTP projects and haven't quite
> found what I'm looking for.
> Basicall, what I need is a stand alone CGI. Instead of the program
> passing the data off to a CGI, I want it to parse and handle the request
> directly.
>
> Basicall, what I need is a stand alone CGI. Instead of the program passing
> the data off to a CGI, I want it to parse and handle the request directly.
instead of which program ?
Http requests are served by a web server (ie Apache), which depending
on the type of request passes the request to
Hello,
I have been looking through some of the HTTP projects and haven't quite found what I'm looking for.
Basicall, what I need is a stand alone CGI. Instead of the
program passing the data off to a CGI, I want it to parse and handle
the request directly.
The part I'm having trouble with is act