SORU
20 Mart 2010, CUMARTESİ


Sunucu protokol ihlali taahhüt. Bölüm=ResponseStatusLine HATA

Bir program oluşturduk, bir sitede bir dize göndermek için çalıştı ve bu hata alıyorum:

"Sunucu protokol ihlali taahhüt. ". Bölüm=ResponseStatusLine

kod: bu satırdan sonra

gResponse = (HttpWebResponse)gRequest.GetResponse(); 

Bu durum nasıl düzeltebilirim?

CEVAP
20 Mart 2010, CUMARTESİ


App/web bu koymayı deneyin.config:

<system.net>
    <settings>
        <httpWebRequest useUnsafeHeaderParsing="true" />
    </settings>
</system.net>

Eğer bu işe yaramaz ise hiç de yanlış KeepAlive özelliği ayarı deneyebilirsiniz.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • edwin maldonado

    edwin maldon

    28 Mart 2009
  • eurotuner

    eurotuner

    6 Mart 2006
  • rekjavicxxx

    rekjavicxxx

    28 EKİM 2007