Message7406
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 |
|
Date |
User |
Action |
Args |
2021-12-07 16:34:39 | schlatterbeck | set | recipients:
+ schlatterbeck, rouilj |
2021-12-07 16:34:39 | schlatterbeck | link | issue2551178 messages |
2021-12-07 16:34:39 | schlatterbeck | create | |
|