I am inquiring about Brandon Rhodes' solution to the problem "Parse raw HTTP headers" in the question Parse raw HTTP Headers. This has brought another question of mine. Is there anyway to use his solution, but maintain the ordering of the HTTP fields?
In his solution, fields are keys in a dictionary. However, the loss of information inherent in this model is the order of the HTTP fields, which I require.