in reply to Re^2: download JPG series with error-handling
in thread download JPG series with error-handling
Also, just to throw another wrench in, just checking MIME type might not be good enough. What if the error "page" you get back is itself actually a jpeg image? I've seen that before. Don't know a way around it unless you are also checking the error code (and the webmaster configured the server sensibly to send back error codes).
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: download JPG series with error-handling
by ikegami (Patriarch) on Mar 28, 2005 at 06:09 UTC |