Skip to content

quantum/goharproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%