Files
cpp-httplib/test
Leng Niuandyhirose 852a66bcec Accept a language tag in a multipart filename* parameter (#2704)
* Accept a language tag in a multipart filename* parameter

RFC 8187 writes an ext-value as charset'[language]'value-chars. The parser
only took the "UTF-8''" form, so filename*=UTF-8'en'%41.txt made the whole
multipart body invalid and the request got 400. Skip the language tag and
decode the value as before.

* Shorten the comments and close the connection in the new test

Without Connection: close the server kept the connection open, so the
test waited for the 1-second read timeout of send_request().

---------

Co-authored-by: yhirose <yuji.hirose.bug@gmail.com>
2026-12-02 00:21:30 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00