vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Alias InetHeaderMap

Behaves similar to string[string] but case does not matter for the key, the insertion order is not changed and multiple values per key are supported.

alias InetHeaderMap = DictionaryList!(string,false,12L,false);

This kind of map is used for MIME headers (e.g. for HTTP), where the case of the key strings does not matter. Note that the map can contain fields with the same key multiple times if addField is used for insertion. Insertion order is preserved.

Note that despite case not being relevant for matching keyse, iterating over the map will yield the original case of the key that was put in.

Authors

Sönke Ludwig

Copyright

© 2012-2014 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.