Skip to content

kistek/request-info-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

request-info-docker

Simple docker web app to output Request path, parameters and headers. It's useful if you want to see how application sees requests from behind proxy/load balancer.

Run example:

docker run -d -p 8080:8080 --name show-headers keeperlink/request-info-docker:latest


Sample output:

Request Host: test.mysite.com
Request URL: /test/path?param1=value1&param2=value2
Context path: test/path
Client IP (RemoteAddr): 172.17.0.1:33870
Request TLS:

Request Headers:

  • Accept : [text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8]
  • Accept-Encoding : [gzip, deflate, sdch]
  • Accept-Language : [en-GB,en;q=0.8,en-US;q=0.6,ru;q=0.4]
  • Cookie : [JSESSIONID=0FADD492D8D1D0E46F9454B75E5720BE; _ym_isad=1]
  • Server-Name : [test]
  • Upgrade-Insecure-Requests : [1]
  • User-Agent : [Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36]
  • X-Forwarded-For : [111.222.333.444]
  • X-Forwarded-Proto : [http]

Form parameters:
  • param1 : [value1]
  • param2 : [value2]

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%