Code Monkey home page Code Monkey logo

Comments (6)

vjpr avatar vjpr commented on July 27, 2024

That URL works for me on iOS7 when I try it with the sample project.

from streamingkit.

tumtumtum avatar tumtumtum commented on July 27, 2024

Yes that seems to work for me too. Possibly a proxy server issue you're having?

from streamingkit.

ost12666 avatar ost12666 commented on July 27, 2024

Strange, it returns an HTML with 403 forbidden in Chrome, Curl and also when using NSURLSession or audjustable in my app

from streamingkit.

ost12666 avatar ost12666 commented on July 27, 2024

If I change the user agent in NSURLSession to "AppleCoreMedia/1.0.0.11D5134c (iPhone Simulator; U; CPU OS 7_1 like Mac OS X; en_us)" then it works. So now I need to understand what iTunes store expects and how to build a valid user agent that works and still has correct info

from streamingkit.

ost12666 avatar ost12666 commented on July 27, 2024

This seems to do the trick "AppleCoreMedia MyApp 1.0 (iPhone Simulator; iPhone OS 7.1; en_US)"

Code to get user agent: https://gist.github.com/gertig/2879749

from streamingkit.

ost12666 avatar ost12666 commented on July 27, 2024

If you use CFNetwork for HTTP is also works well with iTunes but not if you use NSURLSession with the default user agent

from streamingkit.

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.