By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,053 Members | 939 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,053 IT Pros & Developers. It's quick & easy.

Carriage return/line feed padded to last value in a NameValueCollection

P: n/a


I noticed that when I add key/value pairs to a NameValueCollection
variable and send this collection through a POST using
WebClient.UploadValues method, the recepient process receives the
collection ok except that the last value has a \r\n padded, which is not
expected. Is this normal behaviour?

My workaround is to add another pair/value which serves as dummy and let
the \r\n get padded to it.
--
John Dalberg
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.