diff options
| author | Barry Warsaw <barry@python.org> | 1999-01-08 17:42:03 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 1999-01-08 17:42:03 (GMT) |
| commit | 302331a3b6544c28a7c4d420fab18f397c844e80 (patch) | |
| tree | 1b0d5f8c71adfb6312861af8156c3461840dbfc7 /Tools/idle/ScriptBinding.py | |
| parent | b33f612f3323f26cad6b43211d8e59e7e84f3604 (diff) | |
| download | cpython-302331a3b6544c28a7c4d420fab18f397c844e80.zip cpython-302331a3b6544c28a7c4d420fab18f397c844e80.tar.gz cpython-302331a3b6544c28a7c4d420fab18f397c844e80.tar.bz2 | |
FieldStorage.__init__(): if there is no content-type header, use
text/plain for inner parts, but application/x-www-form-urlencoded
for outer parts. Honor any existing content-type header.
Lower down, if the content-type header is something we don't
understand (say because it there was a typo in the header coming from
the client), default to text/plain for inner parts, but
application/x-www-form-urlencoded for outer parts.
Diffstat (limited to 'Tools/idle/ScriptBinding.py')
0 files changed, 0 insertions, 0 deletions
