william-os4y / fapws3

Fast Asynchronous Python Web Server (based on libev)
GNU General Public License v2.0
341 stars 38 forks source link

Django: admin stylesheet .css file truncated #2

Closed akaihola closed 15 years ago

akaihola commented 15 years ago

Serving static media with fapws3 as shown in the example fapws3/sample/django/run.py on lines 20–21 exhibits a bug:

The file /media/css/base.css is truncated from 12230 bytes (almost 747 lines) to 11854 bytes (almost 705 lines). Here's how to reproduce on Ubuntu 8.10 Intrepid with Python 2.5.2:

akaihola commented 15 years ago

With Python 2.6 the base.css file is served correctly on Ubuntu 8.10.

william-os4y commented 15 years ago

Can you talk about the browser you use ? I made my developpments with firefox, Opera and Konqueror. I encounter few problems with the caching of Opera (I have now 9.64)

akaihola commented 15 years ago

Now with Firefox 3.0.7 on the local machine I can't reproduce it either, and neither with curl.

At the time I opened the issue I was browsing with Firefox 3.0.10 from another machine. I'll try that again soon.

william-os4y commented 15 years ago

Cannot reproduce it with Firefox, Konqueror, Opera, IExplorer6. I'll close it