Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lib/ocaml] use ocaml Http_client from netclient lib to download files #276

Merged
merged 2 commits into from
Sep 14, 2012

Conversation

flixr
Copy link
Member

@flixr flixr commented Sep 12, 2012

  • used e.g. to dowload map tiles
  • raises Blocked if we get a 403 and raises Not_Found on a 404,
    only if we get a Not_Found we try the next zoom level
  • in case we get blocked, it still tries the next tile...
    maybe we should stop trying to get tiles at all in that case

should at least partially fix #42

* used e.g. to dowload tiles
* raises Blocked if we get a 403 and raises Not_Found on a 404,
  only if we get a Not_Found we try the next zoom level
* in case we get blocked, it still tries the next tile...
  maybe we should stop trying to get tiles at all in that case
@scdwyer
Copy link
Contributor

scdwyer commented Sep 12, 2012

Worked for me on OS X (Lion, binary install from august). Couldn't test 403, didn't test 404.

flixr added a commit that referenced this pull request Sep 14, 2012
[lib/ocaml] use ocaml Http_client from netclient lib to download files
@flixr flixr merged commit 24f802d into paparazzi:master Sep 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

don't attempt to download further tiles if google blocked you
2 participants