diff options
author | Ed Tanous <ed@tanous.net> | 2024-03-19 19:16:16 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-21 03:21:57 +0300 |
commit | 1fccd0d5eafd56049a8a381543dd83d5559fbf25 (patch) | |
tree | da46c6ada6dc567ebc4b0278ff24c540d9d3ece1 /meson.build | |
parent | 78d4ec4f0ccc85d92280c8b542f3c516b9e72786 (diff) | |
download | bmcweb-1fccd0d5eafd56049a8a381543dd83d5559fbf25.tar.xz |
Allow no spaces in content-type
For the content type header
application/json;charset=utf-8
The Redfish specification DSP0266 shows no space between the ; and
charset. Sites like mozilla show the space included [1]
Considering the discrepancy, we should just accept both.
Resolves #271
[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type
Tested: Submitter reports issue fixed.
Change-Id: I77b7db91d65acc84f2221ec50985d4b942fbe77f
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 487ec1f07f..2d5f00e8d5 100644 --- a/meson.build +++ b/meson.build @@ -426,6 +426,7 @@ srcfiles_unittest = files( 'test/http/http_connection_test.cpp', 'test/http/mutual_tls.cpp', 'test/http/router_test.cpp', + 'test/http/parsing_test.cpp', 'test/http/http_response_test.cpp', 'test/http/utility_test.cpp', 'test/http/verb_test.cpp', |