VALID_MIME_TYPES is html so far, not http. I could add a VALID_PROTOCOLS, but I think that should be in core resource.rb. (come to think of it, so should VALID_MIME_TYPES). Let's discuss this.