Frank Berghaus
100b22e6c2
Use case-insensitive comparison for headers fix #2100 ( #2101 )
...
* Use case-inseneitive comparison for headers
HTTP headers should be case-insensitive. Use case-insensitive string
comparisons when working with HTTP header responses to ensure
compatibility.
* Revert "Use case-inseneitive comparison for headers"
This reverts commit a02f591723506b62b7208449be6eef7122120398
* Ignore case when searching HTTP header responses
Looking up the Content-Length in the header returned by S3 storage
endpoints should ignore case. To guarantee portability implement a
function for case-insensitive string search, because it is non-standard.
* Add an _ after H5 for the strcasestr implementation
It is a private function and should sport that underscore.
* Remove author comment from the doc comment
* Use search function defined by system if available
Check whether the system provides a function implementing case
insensitive string searches. Only use the custom implementation if the
system does not provide the functionality.
* Add tests for case-insensitive search
Basic tests:
- Search for empty string
- Search with exact match
- Search with case-insensitive match
- search with no match
* Enforce clang-format style
Some variable definitions in the th5_system tests did not conform to
clang-format's expectations. Updated the offending lines.
* Correct comment describing test case
* Added some spaces to please clang-format
* Ignore discarding const
Ask the compiler to ignore discarding the const when retunring a match from H5_strcasestr
Co-authored-by: Frank Berghaus <frank.berghaus@mpcdf.mpg.de >
2022-09-21 11:50:17 -05:00
..
2021-05-25 15:38:54 -05:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2021-02-17 08:52:04 -06:00
2021-12-07 08:27:29 -06:00
2022-03-31 10:42:30 -05:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-19 17:18:30 -07:00
2022-08-10 13:57:26 -07:00
2022-08-10 13:57:26 -07:00
2022-09-02 17:31:29 -07:00
2022-05-17 11:54:05 -05:00
2022-08-19 07:54:42 -07:00
2022-07-22 13:03:12 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-22 13:03:12 -07:00
2021-08-12 07:21:50 -05:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-31 11:01:05 -05:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-17 16:31:54 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-01-28 16:43:48 -06:00
2021-03-04 06:29:10 -06:00
2022-05-04 08:49:01 -07:00
2021-03-04 06:29:10 -06:00
2022-07-26 14:45:46 -07:00
2021-09-29 13:28:12 -05:00
2021-09-29 13:28:12 -05:00
2021-09-29 13:28:12 -05:00
2021-09-29 13:28:12 -05:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-05-04 08:49:01 -07:00
2019-06-12 12:55:12 -05:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-01-28 16:30:33 -06:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-05-04 08:49:01 -07:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-12-07 08:27:29 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-12-07 08:27:29 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-07-22 13:03:12 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2021-02-22 22:29:56 -06:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-06-22 11:58:18 -07:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2022-07-26 14:45:46 -07:00
2022-08-05 16:11:13 -07:00
2019-01-25 00:19:16 -06:00
2022-07-26 14:45:46 -07:00
2022-08-22 08:21:27 -07:00
2022-05-04 08:49:01 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-03-26 14:30:53 -05:00
2021-09-29 13:28:12 -05:00
2022-09-17 09:49:38 -07:00
2021-03-04 06:29:10 -06:00
2022-07-26 17:42:40 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-08-17 16:31:54 -07:00
2022-08-10 13:57:26 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-03-10 12:22:16 -06:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-01-28 16:30:33 -06:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-06-22 11:58:18 -07:00
2021-12-07 08:27:29 -06:00
2022-07-26 14:45:46 -07:00
2022-01-28 16:30:33 -06:00
2022-01-28 16:30:33 -06:00
2022-03-09 14:07:54 -06:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2021-12-07 08:27:29 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2019-01-07 15:40:44 -06:00
2021-03-17 14:23:07 -05:00
2021-02-17 08:52:04 -06:00
2022-06-22 09:16:30 -07:00
2022-04-25 12:17:48 -05:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2012-12-21 00:00:08 -05:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-04-26 11:07:15 -05:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-07-06 13:12:31 -07:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-03-10 12:22:16 -06:00
2022-07-26 14:45:46 -07:00
2022-08-05 16:11:13 -07:00
2022-08-05 16:11:13 -07:00
2022-06-22 11:58:18 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-09-21 11:50:17 -05:00
2022-07-26 14:45:46 -07:00
2022-08-17 16:31:54 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2021-08-23 16:14:53 -05:00
2022-08-19 17:18:30 -07:00
2022-07-26 14:45:46 -07:00
2020-09-30 09:27:10 -05:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-08-10 13:57:26 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-30 10:29:51 -07:00
2022-01-07 22:29:25 -06:00
2022-01-07 22:29:25 -06:00
2021-12-07 08:27:29 -06:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2022-07-26 14:45:46 -07:00
2022-05-04 08:49:01 -07:00
2021-02-17 08:52:04 -06:00
2022-07-26 14:45:46 -07:00
2021-11-23 08:04:11 -06:00
2022-07-26 14:45:46 -07:00
2021-09-29 13:28:12 -05:00
2022-09-17 09:49:38 -07:00