Pierre Quentel added the comment:
Hi Glenn,
My proposal was not about optimization, I just thought that "if x==y" is
simpler than "if len(x)==len(y) and x==y". Since we don't expect that there
will be many directories in the list, I don't think optimizing is
Pierre Quentel added the comment:
Hi,
I started working on a revised version of the whole cgi documentation. I mostly
changed paragraphs 2 & 3 ("Using the CGI module" and "Higher level interface")
and replaced them by a paragraph still called "Using the CGI modu
Pierre Quentel added the comment:
I attach a new version after sharing thought with Glenn
CGI scripts are still unable to define which encoding to use to print the
strings received from the user agent. A patch was proposed #11066 but the issue
is still pending. The new version documents this
New submission from Pierre Quentel:
SimpleHTTPServer send a Last-Modified response header, but doesn't take into
account the If-Modified-Since header if it was sent by the user agent.
If a url matches a file and this file was not modified after the value of the
If-Modified-Since header
Pierre Quentel added the comment:
Yes, I will be able to review the patch next week
2015-07-31 18:13 GMT+02:00 STINNER Victor :
>
> STINNER Victor added the comment:
>
> @Pierre Quentel: Hi! Are you still working on CGI? Can you please review
> this patch? Thanks.
>
>
Pierre Quentel added the comment:
I don't really see why there is a Content-Length in the headers of a
multipart form data. The specification at
http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 doesn't
mention it, and it is absent in the example that looks like the one
Pierre Quentel added the comment:
Victor, you can apply the patch and close the issue.
Le 7 août 2015 17:12, "Peter Landry" a écrit :
>
> Peter Landry added the comment:
>
> A new patch that simply removes Content-Length from part headers when
> present.
>
>
101 - 107 of 107 matches
Mail list logo