After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722341 - tests: add ability to check for header fields not present
tests: add ability to check for header fields not present
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: HTTP Transport
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2014-01-16 14:15 UTC by Lionel Landwerlin
Modified: 2014-01-19 18:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tests: headers-parsing: allow checks with case insensitive headers fields (799 bytes, patch)
2014-01-16 14:15 UTC, Lionel Landwerlin
committed Details | Review
tests: headers: allow checks on non present headers fields (1.77 KB, patch)
2014-01-16 14:16 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2014-01-16 14:15:28 UTC
It would be nice to have the ability to check that a field is not present in a header.
Comment 1 Lionel Landwerlin 2014-01-16 14:15:51 UTC
Created attachment 266468 [details] [review]
tests: headers-parsing: allow checks with case insensitive headers fields
Comment 2 Lionel Landwerlin 2014-01-16 14:16:10 UTC
Created attachment 266469 [details] [review]
tests: headers: allow checks on non present headers fields
Comment 3 Dan Winship 2014-01-18 16:10:32 UTC
Comment on attachment 266469 [details] [review]
tests: headers: allow checks on non present headers fields

>+	{ "Response w/ 3 headers, check on different cases",

can you change that to "check case-insensitivity" or something like that? At first I thought "different cases" meant, like, different situations.
Comment 4 Lionel Landwerlin 2014-01-19 18:31:44 UTC
Comment on attachment 266469 [details] [review]
tests: headers: allow checks on non present headers fields

Including the changes you mentioned.