# use curl to pull the raw response
# from the server and the headers that were sent back
curl -D headers2 --raw www.serverwithproblem.com > raw2.txt
# concatenate the headers and response into one file
cat headers2 raw2.txt > both2.txt
# cause netcat to listen on a specified port
# and cat your mock response to it
cat both2.txt | nc -l 8099
# netcat will sit and wait for your request
# now aim your browser at localhost:8099
After that you go to your browser at localhost:8099 and you'll get the response you set up.