Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 874 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 874 Bytes

goharproxy

Alternative to browsermob-proxy written in go.

Build Status

Features

Supports creating new proxies, serving HAR logs, and remapping hosts.

  • Create proxy: POST /proxy

    • Returns : { "port": [portNumber] }
  • Get HAR: PUT /proxy/[portNumber]/har

    • Returns HAR log in json, and clears previous entries
  • Remapping hosts: POST /proxy/[portNumber]/hosts

    • Expects json containing array of : { "Host" : [oldHost], "NewHost" : [newHost] }
    • Supports IP / host name
  • Delete Proxy: DELETE /proxy/[portNumber]

Currently does not fill whole HAR - timings contain only timing between request start and response end. Also does not work with https requests yet.