[erlang-questions] web proxy

Joe Armstrong erlang@REDACTED
Tue Sep 1 15:32:55 CEST 2015

On Tue, Sep 1, 2015 at 12:05 PM, Tuncer Ayaz <tuncer.ayaz@REDACTED> wrote:
> On Tue, Sep 1, 2015 at 9:54 AM, Joe Armstrong wrote:
>> Hello,
>> I want to record all traffic between my browser and the Internet.
>> What I want is a record of
>>     1) the request
>>     2) the number of bytes in the response
>>     3) some timing data
>> When I fetch a web page.
>> I'd like this data (if possible) in the form of event messages being sent
>> to an Erlang program.
>> Why do I want this?
>> I was horrified by reading
>> http://blog.lmorchard.com/2015/07/22/the-verge-web-sucks/
>> and wanted to accurately record exactly how much data is involved when
>> I request a web page. The I want see how much is content and how much
>> is crap.
>> Any ideas
> Browsers have (developer) profiling tools, which allow you to
> inspect the network traffic from the client's view. That should do the
> trick.

I know, but I want to remotely control the browser from Erlang and get
the results in Erlang not in the browser console (or whatever) - I
don't want
to click things inside the browser


More information about the erlang-questions mailing list