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

  • Chriselle Lim

    Chriselle Li

    26 Ocak 2008
  • Hak5DarrensVlog

    Hak5DarrensV

    11 EYLÜL 2009
  • magnum33563

    magnum33563

    8 NİSAN 2011