Try to get resource size when using HTTP.