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

  • Canal de arkyoru

    Canal de ark

    18 Ocak 2007
  • KendrickLamarVEVO

    KendrickLama

    9 ŞUBAT 2011
  • PorterRobinsonVEVO

    PorterRobins

    11 Kasım 2013