Coder Social home page Coder Social logo

Support HTTP2? about siesta HOT 4 CLOSED

bustoutsolutions avatar bustoutsolutions commented on May 22, 2024
Support HTTP2?

from siesta.

Comments (4)

tracicot avatar tracicot commented on May 22, 2024

What was the solution? I'm seeing the same thing now that I'm finally using Xcode 8.

from siesta.

pcantrell avatar pcantrell commented on May 22, 2024

Siesta should support HTTP/2 just fine as long as the underlying networking provider supports it. The default provider is URLSession (formerly NSURLSession), which supports HTTP/2 as of iOS 9.

@tracicot: If you find a case where URLSession supports a request when used directly but fails when used through Siesta, please open an issue.

from siesta.

JoiMeseery avatar JoiMeseery commented on May 22, 2024

I got the same issue here with iOS 11, Xcode 9 :
UserInfo={NSErrorPeerAddressKey=<CFData 0x60400028d2f0 [0x1083299b0]>{length = 16, capacity = 16, bytes = 0x100201bb0de526680000000000000000}, _kCFStreamErrorCodeKey=100, _kCFStreamErrorDomainKey=1

"The operation couldn’t be completed. Protocol error"

from siesta.

pcantrell avatar pcantrell commented on May 22, 2024

@JoiMeseery That’s an error coming from the underlying networking layer. Same question as above: what happens when you send the same request with URLSession? If there’s a request that works with raw URLSession but not when sent through Siesta, then reopen this issue.

from siesta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.