update to do correct http response in blog