Indy как изменить протокол

Discussion in 'С/С++, C#, Rust, Swift, Go, Java, Perl, Ruby' started by Testosteron, 18 Dec 2015.

  1. Testosteron

    Testosteron New Member

    Joined:
    18 Jun 2010
    Messages:
    8
    Likes Received:
    0
    Reputations:
    0
    Как изменить протокол на 1.1 ?
    ProtokolVersion = pv1_1 стоит, но отправляет все равно 1.0
     
  2. Ins3t

    Ins3t Харьковчанин

    Joined:
    18 Jul 2009
    Messages:
    939
    Likes Received:
    429
    Reputations:
    139
    "Currently when issuing a POST, IdHTTP will automatically set the protocol to version 1.0 independently of the value it had initially. This is because there are some servers that don't respect the RFC to the full extent. In particular, they don't respect sending/not sending the Expect: 100-Continue header. Until we find an optimum solution that does NOT break the RFC, we will restrict POSTS to version 1.0."