Re: Bug in HttpRequestFormPost (General questions)
Saurabh,
I was able to duplicate your problem - and you're correct. However, I cannot call this a bug, rather it's a feature. wodHttpDLX cannot change FormPost-ed values once they're set, you can only add new ones. So, after they're added, they are read-only.
This is because at the moment you do FormPost.Add, request Body is setup immediately. Changing values later on would require large parsing. It's much more easier - and more efficient if they're only intialy set.
If you think about it - you can easily make workaround this. You could store to be posted values in your own Collection, and then at the moment you would do actual POST call you can add them to FormPost collection - in which case you are always sure they're added correctly.
Complete thread:
- Bug in HttpRequestFormPost - Saurabh, 2005-11-23, 14:03
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-23, 20:40
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 11:09
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 13:24
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 17:42
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 23:29
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-26, 06:30
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 23:29
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 17:42
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 13:24
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 11:09
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-23, 20:40