Question
Python Proxy Server Hi all, I am trying to develop a simple proxy server in python. My Python version is2.7.10. To begin with, I need
Python Proxy Server
Hi all,
I am trying to develop a simple proxy server in python. My Python version is2.7.10. To begin with, I need to start the python server with:
python Proxy.py localhost 8888
and then I should directly configure my web browser to use my proxy. I attached my Firefox proxy setting screenshot for your reference. I directly configure my web browser to use my proxy. Attached Firefox proxy setting screenshot for your kind reference. Download my Proxy.py source code via below link :
https://drive.google.com/open?id=1w2kJSemq8v9YHqU3ZeuSgqK1r6xLdUpb
Furthermore, in order to show you how I test my code. I uploaded my Proxy.py testing video into Youtube and Question PDF document for your kind reference.
This is my Proxy.py testing video which is uploaded to Youtube:
https://www.youtube.com/watch?v=2qJihpyO7yY&feature=youtu.be
Document PDF download link:
https://drive.google.com/open?id=1FwOR6ISGCi5wM060pDSOCO4L_PMsZ9qN
I try to use my Web browser with my new custom proxy setting navigate towww.google.com by using Proxy.py at my home, However, it doesn't work because my Web browser cannot loaded both the main web page and all associated files. How to fix it?
Actually, I found that this line of my code is wrong. My question is what is wrong with this line of code.?
response_buffer=originServerFileObj.readlines();
What the problem with this line code might be? How to explain the problem with this line code?
I greatly appreciate your help.
Many thanks!
Regards,
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started