Alexey,

this break web2py ability to redirect tickets to custom pages via
routes.

in principle one just need to change 200 into 500 ino
check_error_route

Can you point me to any documentation that talks about the size of
text in the error page and IE, because I do not have a windows machine
handy to test it.

Massimo


On May 24, 10:41 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> Please see the patch attached. Tested with IE6, I don't have any others under
> the hand, but deciding on what I've found on the Net - it should work for IE7
> too at least.
>
> On Sunday 24 May 2009 18:59:57 mdipierro wrote:
>
>
>
> > If you find a workaround I am happy to change this.
>
> > On May 24, 9:57 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> > > В сообщении от Sunday 24 May 2009 18:42:27 mdipierro написал(а):> This
> > > was discussed tome time ago. In principle you are correct but if
>
> > > > tickets are not 200 OK IE does not display them.
>
> > > Oh. Isn't IE just doesn't display non-200 pages that are smaller than
> > > some specific size? Anyways, I have IE on my box so I'll test it myself.
>
> > > > Massimo
>
> > > > On May 24, 2:17 am, Alexey Nezhdanov <snak...@gmail.com> wrote:
> > > > > Here is my problem.
> > > > > There is a javascript app that does asyncronous file upload.
> > > > > It works nice with web2py when I test it on localhost, but when I
> > > > > deliberately tried it over a slow link, I got this:
>
> > > > > Traceback (most recent call last):
> > > > >   File "/home/snake/python/horst/web2py/gluon/main.py", line 245, in
> > > > > wsgibase int(request.env.content_length))
> > > > >   File "/home/snake/python/horst/web2py/gluon/fileutils.py", line
> > > > > 268, in copystream data = src.read(chunk_size)
> > > > >   File "/home/snake/python/horst/web2py/gluon/wsgiserver.py", line
> > > > > 193, in read data = self.rfile.read(size)
> > > > >   File "/usr/lib/python2.5/socket.py", line 309, in read
> > > > >     data = self._sock.recv(recv_size)
> > > > > timeout: timed out
>
> > > > > There is no any of my code in that trace so I can't affect how that
> > > > > is processed. Yet, this trace returns a 200 HTTP page: (Internal
> > > > > error / Ticket issued). javascript sees that return code is 200 and
> > > > > doesn't react properly to the error. So here is the subject - since
> > > > > that's an internal error - shouldn't it be HTTP(500) or at least
> > > > > HTTP(400) ?
>
> > > > > --
> > > > > Sincerely yours
> > > > > Alexey Nezhdanov
>
> > > --
> > > Sincerely yours
> > > Alexey Nezhdanov
>
> --
> Sincerely yours
> Alexey Nezhdanov
>
>  x.diff
> 2KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to