Giter Site home page Giter Site logo

Comments (5)

tenox7 avatar tenox7 commented on May 10, 2024

You use this as a HTTP proxy not as a URL. Think of Squid. You need to configure HTTP proxy as described here: https://support.apple.com/kb/PH18553?locale=en_US If you use Firefox instead of Safari you can configure proxy just in Firefox instead of the whole system.

from wrp.

DavidCWGA avatar DavidCWGA commented on May 10, 2024

I'm an idiot. Thanks.

(Can this be a feature request? :)

from wrp.

tenox7 avatar tenox7 commented on May 10, 2024

An older version of WRP allowed to be run as a cgi-bin application instead of a proxy. I can probably dig it out.

from wrp.

DavidCWGA avatar DavidCWGA commented on May 10, 2024

Actually I've encountered a new issue:

2016-07-14 00:17:40.790 Python[4753:136361] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
 ... something went wrong 2: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

Apparently the solution is to put this in Info.plist:

<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>

But python scripts don't have an Info.plist. Is there a workaround that you know of?

from wrp.

tenox7 avatar tenox7 commented on May 10, 2024

Can you open a new / separate issue for this?

Perhaps this would work? Maybe an "app" could be created with this:

https://www.metachris.com/2015/11/create-standalone-mac-os-x-applications-with-python-and-py2app/

from wrp.

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.