프로젝트
GitHub에서 보기
jgrahamc/httpdiff
소개
두 HTTP 서버에 동일한 요청을 보내고 결과를 비교합니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalhttpdiff
Perform the same request against two HTTP servers and diff the results. For best results use in a terminal that supports ANSI escape sequences.
Installation
go get github.com/jgrahamc/httpdiff
go install github.com/jgrahamc/httpdiff
Usage
Simple usage is to give it two URLs to fetch and it will diff the results. If the bodies are different they are saved to temporary files.
httpdiff http://www.google.co.uk http://www.google.com/
It's also possible to set the Host header to something other than what's in the URIs. This is sometimes useful when testing a temporary set up or when moving servers.
httpdiff -host example.com http://example.old.com/ http://example.new.com
Specific headers can be ignored with the -ignore option
httpdiff -ignore Set-Cookie,Date http://x.com http://y.com
The default HTTP method is GET but that can be changed
httpdiff -method HEAD http://example.com http://example2.com
Output example on Hacker News showing that Date changes each time

Output example on Google showing difference between HTTP and HTTPS

관련 프로젝트 살펴보기
불러오는 중…