chenyachao / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

How to use http-proxy for getBrowser & ajax requests? #245

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use phpquery for any http(s) request
2. try to configure it using a http(s)-proxy

What is the expected output? What do you see instead?
One should be able to configure an optional proxy-setting just like the setup 
for allowedDomains.

What version of the product are you using? On what operating system?
latest/git

Please provide any additional information below.
It would also be nice being able to get and alter any header/user-agent sent in 
requests.

Original issue reported on code.google.com by gabriel....@googlemail.com on 1 Jul 2015 at 10:36

GoogleCodeExporter commented 8 years ago
This may be a starting point:
https://code.google.com/p/phpquery/source/browse/branches/dev/phpQuery/phpQuery.
php?r=359#583

Original comment by gabriel....@googlemail.com on 1 Jul 2015 at 10:36