473,395 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Re: why can i still able to reproduce the SimpleHTTPServer bugwhichis said fixed 3 years ago?


"Gabriel Genellina" <ga*******@yahoo.com.arwrote in message
news:op***************@gabriel2.softlabbsas.com.ar ...
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <py***********@gmail.com>
escribió:
http://bugs.python.org/issue1097597

in my python 2.5.2, i still find these code in SimpleHTTPServer.py,
is that deliberate?
According to http://bugs.python.org/issue839496 it should have been
corrected, but apparently the patch was only applied to the 2.4
maintenance branch, not to the trunk. Both 2.5 and 2.6 have the same
problem. 3.0 doesn't have this problem but probably it was fixed
independently.
===========================

I reopened this so it will appear on the weekly bug report, in case the
original committer does not see it.

Jun 27 '08 #1
1 943

Terry Reedy wrote:
"Gabriel Genellina" <ga*******@yahoo.com.arwrote in message
news:op***************@gabriel2.softlabbsas.com.ar ...
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <py***********@gmail.com>
escribió:
>http://bugs.python.org/issue1097597

in my python 2.5.2, i still find these code in SimpleHTTPServer.py,
is that deliberate?

According to http://bugs.python.org/issue839496 it should have been
corrected, but apparently the patch was only applied to the 2.4
maintenance branch, not to the trunk. Both 2.5 and 2.6 have the same
problem. 3.0 doesn't have this problem but probably it was fixed
independently.
===========================

I reopened this so it will appear on the weekly bug report, in case the
original committer does not see it.
Is jlgijsbers still around? :)

Seeing that Python 2.6 is now in beta phase, I'd love to see this 3 year old bug fixed
before 2.6 is released. The fix is extremely simple: just always open the file in
binary mode (i.e. remove the test for the file type).

--irmen
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joshua W. Biagio | last post by:
Hello all, I am having difficulty getting the HTTP/1.1 support (i.e. pipelining and persistent connections) for the BaseHTTPServer library to work. When I change the line for the protocol in...
2
by: Jed Parsons | last post by:
Hola - I'm curious about using SimpleHTTPServer as the web server on my home machine. It would pretty much just be hit by me, search robots, and automated attacks :) So, before I ditch...
2
by: Bryan Rasmussen | last post by:
Hey just doing some preliminary testing with SimpleHTTPServer, and i noticed that when i request a resource with a query string parameters that this was not handled. is this correct, or is there...
7
by: Gianni Rondinini | last post by:
http://tagsoup.com/-dev/null-/css/fixed/ this is what i was looking for. it has the fixed things i wanted and works both with internet explorer and firefox. the problem is i can't reproduce it. i...
3
by: Sanghyeon Seo | last post by:
I took some time to write this HOWTO: http://sparcs.kaist.ac.kr/~tinuviel/fepy/howto/simplehttpserver-ironpython-mono-howto.html IronPython seems to get much less interest than it deserves. This...
1
by: Ben | last post by:
Hi there, Perhaps someone can help me. For some reason, when my Python script runs and loads an HTML page in a new browser window at the local host (desktop), the links to my stylesheet and all...
9
by: jbrewer | last post by:
I'm currently implementing an XML-RPC service in Python where binary data is sent to the server via URLs. However, some clients that need to access the server may not have access to a web server,...
0
by: Leo Jay | last post by:
http://bugs.python.org/issue1097597 in my python 2.5.2, i still find these code in SimpleHTTPServer.py, is that deliberate? ctype = self.guess_type(path) if ctype.startswith('text/'): mode =...
0
by: Gabriel Genellina | last post by:
En Fri, 13 Jun 2008 04:02:48 -0300, Leo Jay <python.leojay@gmail.com> escribió: According to http://bugs.python.org/issue839496 it should have been corrected, but apparently the patch was only...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.