Re: Problems Returning an HTTP 200 Ok Message

2008-07-14 Thread samwyse
On Jul 10, 4:10 pm, Guy Davidson [EMAIL PROTECTED] wrote: I try to send the following message, using the socket.send() command: 'HTTP/1.1 200 OK\r\nDate: Thu, 10 July 2008 14:07:50 GMT\r\nServer: Apache/2.2.8 (Fedora)\r\nX-Powered-By: PHP/5.2.4\r\nContent-Length: 4\r \nConnection:

Re: Problems Returning an HTTP 200 Ok Message

2008-07-14 Thread samwyse
On Jul 11, 3:46 am, Gabriel Genellina [EMAIL PROTECTED] wrote: As Guy Davidson has already pointed out, this is a problem in the meter   TCP implementation, and you should ask the vendor to fix it. That would have been me, not Guy. -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems Returning an HTTP 200 Ok Message

2008-07-14 Thread Gabriel Genellina
En Mon, 14 Jul 2008 17:46:12 -0300, samwyse [EMAIL PROTECTED] escribió: On Jul 11, 3:46 am, Gabriel Genellina [EMAIL PROTECTED] wrote: As Guy Davidson has already pointed out, this is a problem in the meter That would have been me, not Guy. Indeed, sorry the misattribution! -- Gabriel

Re: Problems Returning an HTTP 200 Ok Message

2008-07-11 Thread Gabriel Genellina
En Thu, 10 Jul 2008 18:10:46 -0300, Guy Davidson [EMAIL PROTECTED] escribi�: On Jul 10, 12:38 pm, samwyse [EMAIL PROTECTED] wrote: On Jul 10, 1:50 pm, Guy Davidson [EMAIL PROTECTED] wrote: My code (attached below) us supposed to read an HTTP Post message coming from a power meter, parse

Problems Returning an HTTP 200 Ok Message

2008-07-10 Thread Guy Davidson
Hi Folks, I'm having some issues with an small socket based server I'm writing, and I was hoping I could get some help. My code (attached below) us supposed to read an HTTP Post message coming from a power meter, parse it, and return a proper HTTP 200 Ok message. The problem is that the socket

Re: Problems Returning an HTTP 200 Ok Message

2008-07-10 Thread Joshua Kugler
Guy Davidson wrote: Hi Folks, I'm having some issues with an small socket based server I'm writing, and I was hoping I could get some help. My code (attached below) us supposed to read an HTTP Post message coming from a power meter, parse it, and return a proper HTTP 200 Ok message. The

Re: Problems Returning an HTTP 200 Ok Message

2008-07-10 Thread samwyse
On Jul 10, 1:50 pm, Guy Davidson [EMAIL PROTECTED] wrote: Hi Folks, I'm having some issues with an small socket based server I'm writing, and I was hoping I could get some help. My code (attached below) us supposed to read an HTTP Post message coming from a power meter, parse it, and return

Re: Problems Returning an HTTP 200 Ok Message

2008-07-10 Thread Guy Davidson
On Jul 10, 12:38 pm, samwyse [EMAIL PROTECTED] wrote: On Jul 10, 1:50 pm, Guy Davidson [EMAIL PROTECTED] wrote: Hi Folks, I'm having some issues with an small socket based server I'm writing, and I was hoping I could get some help. My code (attached below) us supposed to read an HTTP