Live data from Hacker News

httpdiff – diff responses to two HTTP/HTTPS requests

github.com

1–10 of 41 posts

Re: httpdiff – diff responses to two HTTP/HTTPS requests

#4
This is very nice. I'm working on something similar as part of my build process so that I can more directly notice changes as they are made in markup, and catch changes that I didn't expect.

The issue I've hit, that you may want to consider, is a suppression list of sorts. The ability to silence diffs on things that look like dates for example would be rather valuable.

Re: httpdiff – diff responses to two HTTP/HTTPS requests

#5
I recently did this manually by piping responses to a temp file called before and after, and then using vimdiff as my differ which proved quite effective.

This tool looks great, but would not have worked with my particular use case, which was doing some migration of user data, and diffing the user accounts to make sure that they had changed in the expected way.

It might be an idea to add the ability to query the same host twice, but have a user input trigger when to test each host.

Re: httpdiff – diff responses to two HTTP/HTTPS requests

#10

The Unix way: diff &1) &1) As a shell function: httpdiff () { diff &1) &1) } httpdiff https://news.ycombinator.com/ https://news.ycombinator.com/

Which works well for that one example. But not others.

    diff &1) &1)
On my machine that produces 33k of output. I like one liners and using the shell, but this tool was built not for fun because I was debugging things that were painful.
Post reply on HN