erikd / http-proxy Goto Github PK
View Code? Open in Web Editor NEWA Haskell library for writing HTTP and HTTPS proxies.
License: Other
A Haskell library for writing HTTP and HTTPS proxies.
License: Other
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?
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.
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.
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’.
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.
Most tests fail if http_proxy is set.
Either have them pass under this condition, or have the test suite check for this and abort the tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.