Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jan 24, 2018

  1. Merge pull request #4 from naoliv/patch-2

    Update the server to dev API
    zerebubuth committed Jan 24, 2018
  2. Merge pull request #3 from naoliv/patch-1

    Update to use SSL
    zerebubuth committed Jan 24, 2018
  3. Update the server to dev API

    Otherwise api.openstreetmap.org redirects to the production API (www.openstreetmap.org)
    naoliv committed Jan 24, 2018
  4. Update to use SSL

    OSM servers are now using HTTPS.
    Otherwise when using an `https:` URL we would get this:
    
    ```
    GET: https://master.apis.dev.openstreetmap.org/api/0.6/changeset/X/download
    Got exception: FAIL: https://master.apis.dev.openstreetmap.org/api/0.6/changeset/X/download => 400:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    ---
    <html><head>
    <title>400 Bad Request</title>
    </head><body>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
     Instead use the HTTPS scheme to access this URL, please.<br />
    </p>
    ```
    Or, when using an `http` URL the script won't follow the redirect:
    
    ```
    GET: http://master.apis.dev.openstreetmap.org/api/0.6/changeset/110579/download
    Got exception: FAIL: http://master.apis.dev.openstreetmap.org/api/0.6/changeset/110579/download => 301:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>301 Moved Permanently</title>
    </head><body>
    <h1>Moved Permanently</h1>
    <p>The document has moved <a href="https://master.apis.dev.openstreetmap.org/api/0.6/changeset/X/download">here</a>.</p>
    <hr>
    ```
    naoliv committed Jan 24, 2018

Commits on Nov 14, 2016

Commits on Sep 19, 2015

Commits on Jul 12, 2015

  1. Update gemfile.lock

    The redaction bot hasn't been updated in years, and some stuff has changed
    
    disable_memoization is default now (typhoeus/typhoeus#235)
    pnorman committed Jul 12, 2015

Commits on Jul 10, 2015

  1. add some uncommitted changes

    pnorman committed Jul 10, 2015

Commits on Aug 28, 2012

  1. Fix another 412 bug

    Gnonthgol committed Aug 28, 2012

Commits on Aug 25, 2012

Commits on Aug 24, 2012

Commits on Jul 24, 2012

  1. Merge pull request #4 from cobra/patch-1

    use find instead of ls, fixes "/bin/ls: Argument list too long"
    gravitystorm committed Jul 24, 2012
Older