Esempio n. 1
0
 // true if we success a call to get ResponseStream, note this code
 // is duplicated and should use code out of the HttpWebRequest
 internal bool CanGetResponseStream()
 {
     return(!KnownVerbs.GetHttpVerbType(m_Verb).m_ExpectNoContentResponse);
 }
Esempio n. 2
0
 private bool CanGetRequestStream()
 {
     return(!KnownVerbs.GetHttpVerbType(m_method).m_ContentBodyNotAllowed);
 }