1. Download our Official Android App: Forums for Android!

Apps Http2 server will not reject Http1.1 as well?

Discussion in 'Android Development' started by Bee Torika, Feb 25, 2016.

  1. Bee Torika

    Bee Torika Newbie
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    35
    Joined:
    Nov 12, 2015

    Nov 12, 2015
    35
    2
    26
    Hi

    My android app connect server by http2 protocol, because a server can receive and response with that protocol.

    If my old version apps connect with that server by http1.1 , it will be ok too?

    Is that depend on a server ?
    or
    Almost a server deal with http 2.0 can deal with http1.1 DEFUALTly ?
    (Just like newer android version can deal with old version app as well with default)

    Thanks
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Recognized Developer
    Rank:
     #12
    Points:
    1,988
    Posts:
    9,176
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    9,176
    13,681
    1,988
    Male
    Software developer
    South West of England
    I'd be extremely surprised if a server providing http2 did not also support http1.1. If this were not the case, then legacy web apps would stop working.
    It depends what version is sent by the client, in either case the server can respond with the correct protocol version
     
    Bee Torika likes this.

Share This Page

Loading...