GetRequestStream throws Timeout exception randomly

后端 未结 4 883
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-09 20:26

After googling for couple of days, I really cannot solve described issue. Hope here will find a solution

I\'m using attached code when calling WCF service on the sam

4条回答
  •  余生分开走
    2020-12-09 21:11

    The first thing to keep in mind is to review the URI, parameters and headers being sent, specifically:

    • Reserved characters. Send reserved characters by the URI can bring problems ! * ' ( ) ; : @ & = + $ , / ? # []
    • URI Length: You should not exceed 2000 characters
    • Length headers: Most web servers do limit size of headers they accept. For example in Apache default limit is 8KB.

    Keep in mind that if you want to send data from a longer length is recommended to send in the body of the message.

提交回复
热议问题