On 1/26/2023 6:39 PM, Barry wrote:
On 26 Jan 2023, at 17:32, Thomas Passin wrote:
On 1/26/2023 11:41 AM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
A nice theory but nothing to do with the real world. I've had a number
of laptops that overheat (or would, if
On 1/26/2023 10:32 PM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 14:21, Thomas Passin wrote:
2. "What is Tjunction max temperature?"
Tjunction max is the maximum thermal junction temperature that a
processor will allow prior to using internal thermal control mechanisms
to reduce power and li
On Fri, 27 Jan 2023 at 14:21, Thomas Passin wrote:
> 2. "What is Tjunction max temperature?"
> Tjunction max is the maximum thermal junction temperature that a
> processor will allow prior to using internal thermal control mechanisms
> to reduce power and limit temperature. Activation of the proce
On 1/26/2023 5:00 PM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 06:54, Thomas Passin wrote:
Did you get a warning, or did you just decide to stop the test?
(At least) one of the utilities, I forget which one, did show the
temperature in a danger zone.
I'm very curious as to which utility
> On 26 Jan 2023, at 17:32, Thomas Passin wrote:
>
> On 1/26/2023 11:41 AM, Chris Angelico wrote:
>>> On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
>>> A nice theory but nothing to do with the real world. I've had a number
>>> of laptops that overheat (or would, if I let test program co
On Fri, 27 Jan 2023 at 06:54, Thomas Passin wrote:
> > Did you get a warning, or did you just decide to stop the test?
>
> (At least) one of the utilities, I forget which one, did show the
> temperature in a danger zone.
I'm very curious as to which utility, and on what basis it called it
"danger
On 1/26/2023 12:57 PM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 04:31, Thomas Passin wrote:
On 1/26/2023 11:41 AM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
A nice theory but nothing to do with the real world. I've had a number
of laptops that overheat (o
On Fri, 27 Jan 2023 at 04:31, Thomas Passin wrote:
>
> On 1/26/2023 11:41 AM, Chris Angelico wrote:
> > On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
> >> A nice theory but nothing to do with the real world. I've had a number
> >> of laptops that overheat (or would, if I let test program co
On 1/26/2023 11:41 AM, Chris Angelico wrote:
On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
A nice theory but nothing to do with the real world. I've had a number
of laptops that overheat (or would, if I let test program continue)
running this test program.
Define "overheat". If all you'
On 2023-01-26, Thomas Passin wrote:
> On 1/26/2023 11:02 AM, Grant Edwards wrote:
>
>[...]
>
>> A properly designed laptop with a non-broken OS will not overheat
>> regardless of the computing load you throw at it. The fan might get
>> annoying loud, but if it overheats either your hardware or OS
On Fri, 27 Jan 2023 at 03:34, Thomas Passin wrote:
> A nice theory but nothing to do with the real world. I've had a number
> of laptops that overheat (or would, if I let test program continue)
> running this test program.
Define "overheat". If all you're saying is "the fan began to whine and
I
On 1/26/2023 11:02 AM, Grant Edwards wrote:
On 2023-01-26, Thomas Passin wrote:
On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
Great! Don't forget what I said about potential overheating if you
hit the server with as many requests as it can ha
On 1/25/2023 4:30 PM, Thomas Passin wrote:
On 1/25/2023 3:29 PM, Dino wrote:
Great! Don't forget what I said about potential overheating if you hit
the server with as many requests as it can handle.
Noted. Thank you.
--
https://mail.python.org/mailman/listinfo/python-list
> On Jan 26, 2023, at 11:02 AM, Grant Edwards wrote:
>
> On 2023-01-26, Thomas Passin wrote:
>> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
Great! Don't forget what I said about potential overheating if you
hit the server with
On 2023-01-26, Thomas Passin wrote:
> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
>> On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
>>> Great! Don't forget what I said about potential overheating if you
>>> hit the server with as many requests as it can handle.
>>
>> Frankly, if you can ove
On 1/25/2023 11:23 PM, Dino wrote:
On 1/25/2023 3:27 PM, Dino wrote:
On 1/25/2023 1:33 PM, orzodk wrote:
I have used locust with success in the past.
https://locust.io
First impression, exactly what I need. Thank you Orzo!
the more I learn about Locust and I tinker with it, the more I lov
On 1/25/2023 3:27 PM, Dino wrote:
On 1/25/2023 1:33 PM, orzodk wrote:
I have used locust with success in the past.
https://locust.io
First impression, exactly what I need. Thank you Orzo!
the more I learn about Locust and I tinker with it, the more I love it.
Thanks again.
--
https://mai
On 1/25/2023 8:36 PM, Chris Angelico wrote:
On Thu, 26 Jan 2023 at 12:06, Thomas Passin wrote:
On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
Great! Don't forget what I said about potential overheating if you
hit the server with as many reque
On Thu, 26 Jan 2023 at 12:06, Thomas Passin wrote:
>
> On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
> > On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
> >> Great! Don't forget what I said about potential overheating if you
> >> hit the server with as many requests as it can handle.
> >
> > Fr
On 1/25/2023 7:38 PM, Peter J. Holzer wrote:
On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
Great! Don't forget what I said about potential overheating if you
hit the server with as many requests as it can handle.
Frankly, if you can overheat a server by hitting it with HTTP requests,
get
On 2023-01-25 16:30:56 -0500, Thomas Passin wrote:
> Great! Don't forget what I said about potential overheating if you
> hit the server with as many requests as it can handle.
Frankly, if you can overheat a server by hitting it with HTTP requests,
get better hardware and/or put it into a place w
On 1/25/2023 3:29 PM, Dino wrote:
On 1/25/2023 1:21 PM, Thomas Passin wrote:
I actually have a Python program that does exactly this.
Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
looks like a mature library that appears to do exactly what I was hoping.
Great! Don
On 1/25/2023 1:21 PM, Thomas Passin wrote:
I actually have a Python program that does exactly this.
Thank you, Thomas. I'll check out Locust, mentioned by Orzodk, as it
looks like a mature library that appears to do exactly what I was hoping.
--
https://mail.python.org/mailman/listinfo
On 1/25/2023 1:33 PM, orzodk wrote:
I have used locust with success in the past.
https://locust.io
First impression, exactly what I need. Thank you Orzo!
--
https://mail.python.org/mailman/listinfo/python-list
Dino writes:
> Hello, I could use something like Apache ab in Python (
> https://httpd.apache.org/docs/2.4/programs/ab.html ).
>
> The reason why ab doesn't quite cut it for me is that I need to define
> a pool of HTTP requests and I want the tool to run those (as opposed
> to running the same re
On 1/25/2023 10:53 AM, Dino wrote:
Hello, I could use something like Apache ab in Python (
https://httpd.apache.org/docs/2.4/programs/ab.html ).
The reason why ab doesn't quite cut it for me is that I need to define a
pool of HTTP requests and I want the tool to run those (as opposed to
run
Hello, I could use something like Apache ab in Python (
https://httpd.apache.org/docs/2.4/programs/ab.html ).
The reason why ab doesn't quite cut it for me is that I need to define a
pool of HTTP requests and I want the tool to run those (as opposed to
running the same request over and over
"Frank Millman" writes:
> My AccInABox project runs an http server. Previously I used the cherry.py
> wsgiserver, but I have now switched to asyncio.
>
> I tried to use the wsgi interface, but I have a particular requirement and
> found that wsgi got in the way, so I
Hi all
My AccInABox project runs an http server. Previously I used the cherry.py
wsgiserver, but I have now switched to asyncio.
I tried to use the wsgi interface, but I have a particular requirement and
found that wsgi got in the way, so I dropped it and now handle all requests
directly
I guess urlretrieve() would do the job
-AB
On Sat, Sep 10, 2011 at 9:11 PM, crow wrote:
> As the title.
>
> Or is there other module that can handle this task?
>
> Many thanks in advance
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/pyt
crow, 10.09.2011 17:41:
As the title.
Or is there other module that can handle this task?
Did you notice that is has documentation?
http://docs.python.org/library/urllib2.html#examples
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
As the title.
Or is there other module that can handle this task?
Many thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 3, 9:35 am, Chris Rebert wrote:
> On Thu, Feb 3, 2011 at 12:15 AM, Markus wrote:
> > Hi,
>
> > As a beginner in python, I am looking for example code that would help
> > me understand how to
> > code following idea:
> > 1. Start minimal http serve
On Thu, Feb 3, 2011 at 12:15 AM, Markus wrote:
> Hi,
>
> As a beginner in python, I am looking for example code that would help
> me understand how to
> code following idea:
> 1. Start minimal http server
http://docs.python.org/library/basehttpserver.html
http://docs.
On 02/03/2011 03:15 AM, Markus wrote:
> Hi,
>
> As a beginner in python, I am looking for example code that would help
> me understand how to
> code following idea:
> 1. Start minimal http server
> 2. Send GET or POST data (url encoded, or from form) - example
> Name=&q
On 02/03/2011 03:15 AM, Markus wrote:
> Hi,
>
> As a beginner in python, I am looking for example code that would help
> me understand how to
> code following idea:
> 1. Start minimal http server
> 2. Send GET or POST data (url encoded, or from form) - example
> Name=&q
Hi,
As a beginner in python, I am looking for example code that would help
me understand how to
code following idea:
1. Start minimal http server
2. Send GET or POST data (url encoded, or from form) - example
Name="Foo"
3. Analyze the GET/POST variable value on server and match to
diffe
Back9 writes:
> Hi,
> I'm trying to set up a http server to handle a single POST request.
> That POST request is to upload a huge file and the server is supposed
> to handle it with the just POST request.
> With my python sample code, multiple post requests are working well,
Hi,
I'm trying to set up a http server to handle a single POST request.
That POST request is to upload a huge file and the server is supposed
to handle it with the just POST request.
With my python sample code, multiple post requests are working well,
but that is not my solution.
I need a s
On 22/12/2010 22:34, Stefan Sonnenberg-Carstens wrote:
Sorry, this one is cross post.
I posted my question below some time ago to then jython ml, because this
hit me first with jython.
Anyway, time passed, problem not solved.
So, I'd like to know if some of you know where my error lies:
[snip]
mine from the past.
It's a toy http server:
import socket
import select
import sys
import time
srv = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
srv.setblocking(0)
srv.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,True) # Not sure if
this is needed. I only remember I've started
Hello!
Two things are missing from the web server I've been developing before
I can release 1.0: unit tests and documentation. Documentation being
entirely my problem, I've run into a bit of a snag with unit testing;
just how would you go about it?
Specifically, I need to test things like H
nnection results in an HTTP/1.1 proxy connection with Connection:
Keep-Alive set. so, even if the user's browser drops the connection,
the proxy permanently keeps open the connection to the upstream HTTP
server. in the case of the standard SimpleHTTPServer.py and so on
that results in the handle_
On Tue, Jul 13, 2010 at 1:30 AM, Tim Wintle wrote:
> On Mon, 2010-07-12 at 23:28 +, Luke Kenneth Casson Leighton wrote:
>> On Mon, Jul 12, 2010 at 10:13 PM, geremy condra wrote:
>> > On Mon, Jul 12, 2010 at 4:59 PM, lkcl wrote:
>> >> there probably exist perfectly good web frameworks that ar
On Mon, 2010-07-12 at 23:28 +, Luke Kenneth Casson Leighton wrote:
> On Mon, Jul 12, 2010 at 10:13 PM, geremy condra wrote:
> > On Mon, Jul 12, 2010 at 4:59 PM, lkcl wrote:
> >> there probably exist perfectly good web frameworks that are capable of
> >> doing this sort of thing: i feel certai
On Jul 12, 9:52 pm, Gelonida wrote:
> Hi lkcl,
>
> Do you have any documentation or overview for your project?
git clone git://pyjs.org/git/multitaskhttpd.git
i only started it today, but yes, there's a README.
the primary reason it's being developed is because GNUmed are looking
to create a
On Mon, Jul 12, 2010 at 10:13 PM, geremy condra wrote:
> On Mon, Jul 12, 2010 at 4:59 PM, lkcl wrote:
>> for several reasons, i'm doing a cooperative multi-tasking HTTP
>> server:
>> git clone git://pyjs.org/git/multitaskhttpd.git
>>
>> there probably ex
On Mon, Jul 12, 2010 at 4:59 PM, lkcl wrote:
> for several reasons, i'm doing a cooperative multi-tasking HTTP
> server:
> git clone git://pyjs.org/git/multitaskhttpd.git
>
> there probably exist perfectly good web frameworks that are capable of
> doing this sort of thi
ve multi-tasking HTTP
> server:
> git clone git://pyjs.org/git/multitaskhttpd.git
>
> there probably exist perfectly good web frameworks that are capable of
> doing this sort of thing: i feel certain that twisted is one of them.
> however, the original author of rtmplite decided t
for several reasons, i'm doing a cooperative multi-tasking HTTP
server:
git clone git://pyjs.org/git/multitaskhttpd.git
there probably exist perfectly good web frameworks that are capable of
doing this sort of thing: i feel certain that twisted is one of them.
however, the original auth
On 5/4/2010 2:07 AM, Bryan wrote:
The SQLite developers state the situation brilliantly at
http://www.sqlite.org/whentouse.html:
For future reference, that link does not work with Thunderbird. This one
does.
http://www.sqlite.org/whentouse.html
When posting links, best to put them on a lin
On Mon, 3 May 2010 23:07:08 -0700 (PDT), Bryan
wrote:
>I love SQLite because it solves problems I actually have. For the vast
>majority of code I write, "lite" is a good thing, and lite as it is,
>SQLite can handle several transactions per second. I give SQLite a
>file path and in a split second I
John Nagle wrote:
> [...] SQLite really
> is a "lite" database. Although there's good read concurrency, multiple
> updates from multiple processes tend to result in sizable delays, since
> the locking is via file locks and wait/retry logic.
True, and I have other gripes about SQLite, but I've fal
Gilles Ganault wrote:
Hello
I'd like to build a prototype that will combine a web server as
front-end (it must support GZIPping data to the remote client when
there are a lot of data to return), and SQLite as back-end, call the
server from a VB.Net application, and see how well this works. I wan
On May 3, 8:46 am, Gilles Ganault wrote:
> Hello
>
> I'd like to build a prototype that will combine a web server as
> front-end (it must support GZIPping data to the remote client when
> there are a lot of data to return), and SQLite as back-end, call the
> server from a VB.Net application, and s
On Mon, 03 May 2010 11:51:41 +0200, Helmut Jarausch
wrote:
>http://www.karrigell.fr/doc/
Thanks for the tip.
--
http://mail.python.org/mailman/listinfo/python-list
interesting
natalie5...@hotmail.co.jp
natalie53...@yahoo.co.jp
natalie5...@gmail.com
wlipgf...@jupiter.ocn.ne.jp
natalie5...@mbr.nifty.com
natalie5...@xqg.biglobe.ne.jp
natalie5...@zpost.plala.or.jp
--
http://mail.python.org/mailman/listinfo/python-list
On 05/03/10 09:46, Gilles Ganault wrote:
> Hello
>
> I'd like to build a prototype that will combine a web server as
> front-end (it must support GZIPping data to the remote client when
> there are a lot of data to return), and SQLite as back-end, call the
> server from a VB.Net application, and s
plication. This
> is just for a proof-of-concept, so it doesn't need to be
> shipping-quality.
If your want to write a basic/low-level HTTP server:
http://docs.python.org/library/basehttpserver.html
Looks like you'd use HTTPServer and a custom subclass of BaseHTTPRequestHandler.
I
Gilles Ganault wrote:
> I'm no Python expert, so would appreciate any information on how to
> combine a web server and SQLite into a single Python application.
Hey Gilles,
I'm a fan of the http framework, CherryPy[1]. Very quick and easy to
get something up and running. The site also has some id
Hello
I'd like to build a prototype that will combine a web server as
front-end (it must support GZIPping data to the remote client when
there are a lot of data to return), and SQLite as back-end, call the
server from a VB.Net application, and see how well this works. I want
to see if performance
_fileobject.readline()) function. For me it only fails
> sometimes.
>
> This behavior is only observed on Windows, Python 2.5. Running it on
> Mac OS X, Python 2.5 yielded no problems.
>
> On Jan 19, 3:48 pm, ak wrote:
>
> > On Jan 19, 10:00 pm, ak wrote:
>
>
ac OS X, Python 2.5 yielded no problems.
On Jan 19, 3:48 pm, ak wrote:
> On Jan 19, 10:00 pm, ak wrote:
>
>
>
> > Hi everyone,
>
> > I have a problem with urllib2 on this particular url, hosted on an
> > Oracle HTTP Server
>
> >http://www.orange.sk/eshop/
On Jan 20, 1:14 am, Steven D'Aprano
wrote:
> On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote:
> > Hi everyone,
>
> > I have a problem with urllib2 on this particular url, hosted on an
> > Oracle HTTP Server
>
> >http://www.orange.sk/eshop/sk/portal/catalog.
On Mon, 19 Jan 2009 13:00:44 -0800, ak wrote:
> Hi everyone,
>
> I have a problem with urllib2 on this particular url, hosted on an
> Oracle HTTP Server
>
> http://www.orange.sk/eshop/sk/portal/catalog.html?
type=post&subtype=phone&null
>
> which gets 302 redir
On Jan 19, 10:00 pm, ak wrote:
> Hi everyone,
>
> I have a problem with urllib2 on this particular url, hosted on an
> Oracle HTTP Server
>
> http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=p...
>
> which gets 302 redirected
> tohttps://www.
Hi everyone,
I have a problem with urllib2 on this particular url, hosted on an
Oracle HTTP Server
http://www.orange.sk/eshop/sk/portal/catalog.html?type=post&subtype=phone&null
which gets 302 redirected to
https://www.orange.sk/eshop/sk/catalog/post/phones.html,
after setting a cookie
I'm writing a select-based server, and some of the client
connections will want to send an xml-rpc request.
Is there a class in the http hierarchy that will allow
me to manage a socket, and allow me to instantiate the
class like
myhttpserver = SomeHTTPServer(mysocket)
and then let me call so
implement concurrent serving to clients i used threaded http server
like this
class HTTPServer(SocketServer.ThreadingMixIn,BaseHTTPServer.HTTPServer):
pass
class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
def do_GET(self):
print "received connection
bharath venkatesh wrote:
> hi,
> will this twisted,turbo gear etc help me to create a http server that
> can serve multiple clients concurrently
Yes. Google for the projects and do some reading, they are all serving
large web sites with sometimes havy demand.
> and also the
> bharath venkatesh wrote:
> > hi,
> > will this twisted,turbo gear etc help me to create a http server that
> can
> > serve multiple clients concurrently
> > and also the http server which i want to create in my project will not
> be
> > doing any IO (it
bharath venkatesh wrote:
> hi,
> will this twisted,turbo gear etc help me to create a http server that can
> serve multiple clients concurrently
> and also the http server which i want to create in my project will not be
> doing any IO (it is not like frontend and backend )..
hi,
will this twisted,turbo gear etc help me to create a http server that can
serve multiple clients concurrently
and also the http server which i want to create in my project will not be
doing any IO (it is not like frontend and backend ).. but it will act as a
image_proxy_server i.e when a
bharath venkatesh wrote:
> hi
>i want to create fast n efficient http server which serve multiple
> client concurrently .. so i thought of threading the http server using
Threads ain't efficient for IO bound problems like a HTTP server. Most
OSs have far better ways to deal
bharath venkatesh wrote:
> hi
>i want to create fast n efficient http server which serve multiple
> client concurrently .. so i thought of threading the http server using
>
> class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
> pass:
>
hi
i want to create fast n efficient http server which serve multiple
client concurrently .. so i thought of threading the http server using
class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer):
pass:
as this creates an threaded version of http server ... but i
Does anybody know how to redirect a post request ?
i have a js file that does a post request to a /php/action.php file
and i would like for the secretary to just do the action method
instead that is defined in her python Http class book, so i can run
both php and python without changing the static
> > The cute secretary's name is "cherrypy.tools.staticdir".
> > Check out her resume at http://www.cherrypy.org/wiki/StaticContent
>
> I think i am in love :)
Cant believe this just works out
import os.path
import cherrypy
pwd = os.path.dirname(os.path.abspath(__file__))
class Http:
_cp_c
> The cute secretary's name is "cherrypy.tools.staticdir".
> Check out her resume at http://www.cherrypy.org/wiki/StaticContent
I think i am in love :)
--
http://mail.python.org/mailman/listinfo/python-list
Gert Cuykens wrote:
> so far this works
>
>
> import cherrypy
> import os.path
>
> class Http:
>
> def index(self):
> f = open(os.path.join(os.path.dirname(__file__), '../htm/index.htm'))
> xml = f.read()
> f.close()
> return xml
> index.exposed = True
>
> c
so far this works
import cherrypy
import os.path
class Http:
def index(self):
f = open(os.path.join(os.path.dirname(__file__), '../htm/index.htm'))
xml = f.read()
f.close()
return xml
index.exposed = True
cherrypy.tree.mount(Http())
if __name__ == '__ma
Hi,
I am newbie to programming with libcurl. the problem is i want to send
my gmail username and password outside the browser and get access to my
mail. this i am doing with LibCurl. Though i dont get any errors, i am
nt able to get the o/p Can anyone kindly help. i will attach the
program here
#in
placid wrote:
> Hi All,
>
> I have this BaseHTTPServer.HTTPServer that is located at C:\ (im on
> Windows XP), when i run the program (httpserver.pyw) from the Run
> Dialog as "C:\httpserver.pyw" the root folder ("\") for http server is
> C:\, but when i a
Hi All,
I have this BaseHTTPServer.HTTPServer that is located at C:\ (im on
Windows XP), when i run the program (httpserver.pyw) from the Run
Dialog as "C:\httpserver.pyw" the root folder ("\") for http server is
C:\, but when i add an entry to Registry Run so that it runs at
Hi all,
Im having trouble with the following code for handling GET requests
from a client to my HTTP server. What i want to do is restrict access
only to a folder and contents(files) within this folder. But when
trying to
open files (eg text files) i get file not found error from send_head
Hi all,
Im having trouble with the following code for handling GET requests
from a client to my HTTP server. What i want to do is restrict access
only to a folder and contents(files) within this folder. But when
trying to
open files (eg text files) i get file not found error from send_head
Simon Forman wrote:
> ...
> >
>
> Awesome! Glad to hear it.
>
> ...
> >
> > Thanks for the help. I got it to work now.
> >
>
> You're welcome. I'm glad I could help you. :-D
>
Im having trouble with the following code for handling GE
placid wrote:
> Simon Forman wrote:
...
>
> The file was named test.cgi. I changed it too test.py and it worked
>
Awesome! Glad to hear it.
...
>
> Thanks for the help. I got it to work now.
>
You're welcome. I'm glad I could help you. :-D
Peace,
~Simon
--
http://mail.python.org/mailman
#!c:/Python/python.exe -u
> >
> > text = """Content-type: text/html
> >
> > CGI 101
> > A Second CGI script
> >
> > Hello, CGI World!
> > """
> > print text
> >
> >
> >
> >
>
his is what i was after, thanks for the tip.
>
You're welcome, my pleasure. : )
...
>
> Im having trouble running the following cgi script on windows
>
>
>
> #!c:/Python/python.exe -u
>
> text = """Content-type: text/html
>
> CGI 101
> A Second
Simon Forman wrote:
>
>
> Ok, seriously, I don't know how pydoc does it, but when I need a
> quick-and-dirty http server [written in python] I use something like
> this:
>
> from BaseHTTPServer import HTTPServer
> from SimpleHTTPServer import SimpleHTTPRequestHan
placid wrote:
> Hi all,
>
> Ive been reading about creating a HTTP server like the one pydoc
> creates (and studying pydoc source code). What i want to know, is it
> possible to create server that creates a webpage with hyperlinks that
> communicate back to the HTTP serve
Hi all,
Ive been reading about creating a HTTP server like the one pydoc
creates (and studying pydoc source code). What i want to know, is it
possible to create server that creates a webpage with hyperlinks that
communicate back to the HTTP server, where each link accessed tells the
server to
to my point about the "fairly simple HTTP server" that you
are using, if you choose to run whichever server such that you can see
it writing its log - for BaseHTTPServer this is easy since it just
writes its log to the terminal/console - then you might be able to see
where the delay occurs
Hello again everyone,
First, I want to thank all those who have contributed to the
unravelling of this server-slow-down mystery.
But unfortunately, either:
1) i have not made my point clear about what my question is
2) i do not understand the responses given
So, let me briefly reiterate what the
[EMAIL PROTECTED] wrote:
> Could the above server-speed assymetry that i spoke of above be caused
> by this reverse dns lookup?
I think so. You stated that you use "a fairly simple HTTP server",
although that's not exactly specific enough to diagnose the problem,
but if t
> Just a guess: could it be that your server is doing reverse-dns lookups?
> (i.e. it does socket.gethostbyaddr to get names by ip addresses,
> perhaps for logging or whatnot)
> This call is expensive. Sometimes this call takes ages to complete,
> if you have a broken DNS config.
Interesting...
[EMAIL PROTECTED] wrote:
> Hi again Istvan,
>
> Good suggestion.
> I have tried another server and it works flawlessly, regardless of the
> computers being wireless or wired. Excellent.
> However, i am still intrigued as to why the server is fast when both
> computers are wireless and the desktop
Hi again Istvan,
Good suggestion.
I have tried another server and it works flawlessly, regardless of the
computers being wireless or wired. Excellent.
However, i am still intrigued as to why the server is fast when both
computers are wireless and the desktop is the server (while the laptop
is the
> But if it's a problem with the software, why does the server work
> great when wired (i.e. not wireless)...that's the weird part.
Don't be so quick to eliminate software error ... when it comes to
bugs there are few rules. You are using a recipe that is *known* to
produce weird behavior. Make
1 - 100 of 110 matches
Mail list logo