Roundup Tracker - Issues

Message7406

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2021-12-07.16:34:39
Message-id <20211207163432.4xcvlncww5gjovhh@runtux.com>
In-reply-to <20211207161624.54CD46A0192@pe15.cs.umb.edu>
On Tue, Dec 07, 2021 at 04:16:26PM +0000, John Rouillard wrote:
> >If that test checks for file-uploads, yes. But I doubt it does (haven't
> >looked).
> 
> test/test_anydbm.py::anydbmRestTest::testPostFile 
> 
> The name is confusing if it doesn't. However it is posting text.
> 
>         form.list = [
>             cgi.MiniFieldStorage('content', 'hello\r\nthere')
>         ]
> 
> Maybe binary is a different deal?

No, I *think* this is unique to WSGI. The traceback came from there. So
it may well be that pythons built-in webserver is more tolerant with
problematic headers. And I'm quite sure the test above doesn't go so
deep to test exchanged headers at html-level. So there is probably no
webserver and headers involved. And if we could test this against
pythons built-in server we could still have it working and wsgi
crashing... I think that level can only be tested with a web-testing
framework like Selenium.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office@runtux.com
History
Date User Action Args
2021-12-07 16:34:39schlatterbecksetrecipients: + schlatterbeck, rouilj
2021-12-07 16:34:39schlatterbecklinkissue2551178 messages
2021-12-07 16:34:39schlatterbeckcreate