Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
Change arg_map and arg_view_map to std::map<std::string, std::vector<std::string>> etc, so that multiple values per key can be returned.
Update an appropriate test case to check that the behavior is correct.
Alternate Designs
No alternate designs
Possible Drawbacks
Small change to user facing API.
Verification Process
Tests were updated to check that new code is correct.
Release Notes
Fixed a bug where http_request::get_args() only returned the last value for a given argument key. It now returns all values associated with a given key.
Requirements for Contributing a Bug Fix
Identify the Bug
https://github.com/etr/libhttpserver/issues/292
Description of the Change
Change arg_map and arg_view_map to
std::map<std::string, std::vector<std::string>>
etc, so that multiple values per key can be returned.Update an appropriate test case to check that the behavior is correct.
Alternate Designs
No alternate designs
Possible Drawbacks
Small change to user facing API.
Verification Process
Tests were updated to check that new code is correct.
Release Notes