문제

We suppose i have a local file in my sdcard, that an Android app did downloaded and stored, in any time in the remote server this file can change (the content) although the file name is the same.

How can i check the file versions without download the file?

도움이 되었습니까?

해결책

304 Not Modified http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Get the date from the version of the file on the SD card and ask the server if / for versions newer than that date.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top