Closed ilsnk closed 2 years ago
and why WatsonWebserver not supported Basic Authentication ? (like on screen)
Authentication should be a function you implement in your PreRequestRouting
handler or elsewhere. It was never intended to have the library manage authentication for you.
Regarding use of NameValueCollection vs Dictionary, the server follows the RFC in that multiple values provided with multiple keys of the same name can be represented as a single value separated by commas. This SO answer may be helpful: https://stackoverflow.com/questions/3096888/standard-for-adding-multiple-values-of-a-single-http-header-to-a-request-or-resp
Cheers, Joel
Quary can has recurring keys, correct use NameValueCollection