mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-14 10:29:35 +00:00
Co-authored-by: jigarcia@vaxtor.es <jigarcia@vaxtor.es>
This commit is contained in:
1 parent
f086bf5310
commit
9c7d841b37
1 file changed
+2
-3
@@ -2979,9 +2979,8 @@ public:
|
||||
|
||||
bool is_valid() const { return is_valid_; }
|
||||
|
||||
template <typename T, typename U>
|
||||
bool parse(const char *buf, size_t n, const T &content_callback,
|
||||
const U &header_callback) {
|
||||
bool parse(const char *buf, size_t n, const ContentReceiver &content_callback,
|
||||
const MultipartContentHeader &header_callback) {
|
||||
|
||||
static const std::regex re_content_disposition(
|
||||
"^Content-Disposition:\\s*form-data;\\s*name=\"(.*?)\"(?:;\\s*filename="
|
||||
|
||||
Reference in new issue
Block a user