Git Product home page Git Product logo

http-proxy's People

Contributors

bosu avatar erikd avatar erikd-ambiata avatar olorin avatar tumdum avatar zyla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

http-proxy's Issues

Can't modify CONNECT requests

The case analysis to handle the CONNECT request is currently being done before applying proxyRequestModifier to the request. This means that one cannot have the proxy prevent certain CONNECT requests from succeeding nor fiddle with the host/port where to connect.

Is there a reason behind this?

Update (http-)conduit(-extra) streaming-commons version constraints

WARNING: Ignoring out of range dependency (allow-newer enabled): conduit-extra-1.3.0. http-proxy requires: >=1.1 && <1.3
WARNING: Ignoring out of range dependency (allow-newer enabled): http-conduit-2.3.2. http-proxy requires: >=2.1.11 && <2.2
WARNING: Ignoring out of range dependency (allow-newer enabled): streaming-commons-0.2.1.0. http-proxy requires: >=0.1 && <0.2

http-proxy seems to work with the above versions.

Example to modify response from server

Hello,

This is more a question rather than an issue/feature. Is there anyway to modify the response from the server in the proxy? I want to add extra script tags to the body.

I'm reading the code, but I can't find any clear entry hooks to do this. Any guidance is highly appreciated.

Cheers.

Build failure with http-client-0.5 / http-conduit-2.2

Dependency http-client ==0.5.0: using http-client-0.5.0
Dependency http-conduit ==2.2.0: using http-conduit-2.2.0
...
[1 of 2] Compiling Network.HTTP.Proxy.Request ( Network/HTTP/Proxy/Request.hs, dist/dist-sandbox-6636fee0/build/Network/HTTP/Proxy/Request.o )
[2 of 2] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, dist/dist-sandbox-6636fee0/build/Network/HTTP/Proxy.o )

Network/HTTP/Proxy.hs:174:19: error:
    Not in scope: ‘HC.checkStatus’
    Neither ‘Network.HTTP.Conduit’ nor ‘Network.HTTP.Client’ exports ‘checkStatus’.

Update dependencies

Hi,

I tried to update the dependencies of http-proxy to conduit-0.5. But with my non existing haskell skillz I get stuck. So I want to ask if you maybe can update the dependencies by yourself.

Here my patch:

http://indeedgeek.de/~feitel/tmp/http-proxy.patch

I got two compiling issues I didn't get fixed. But maybe you can need some lines of the patch.

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.