[erlang-questions] web proxy

pablo platt <>
Tue Sep 1 15:40:17 CEST 2015


On Tue, Sep 1, 2015 at 4:32 PM, Joe Armstrong <> wrote:

> On Tue, Sep 1, 2015 at 12:05 PM, Tuncer Ayaz <>
> 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
>

What about wireshark with http filter or a pcap capture file?


>
> /Joe
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150901/8395b2aa/attachment.html>


More information about the erlang-questions mailing list