Only cache attachments that are returned with a 200 HTTP status code

Otherwise redirects will be cached, and since headers and the status
code aren't stored, a non-redirecting redirect page will be returned
in the future, but with 200.  It's easiest to only cache the 200
responses.