title: Why is curl truncating this query string?
body: <p>I'm sure the answer to this is going to be some painfully obvious character encoding issue...</p>
  
  <p>I'm using curl on the command line to test some endpoints in a python app.  The endpoint takes url params of latitude and longitude.  Nothing too special.  I put in the command:</p>
  
  <pre><code>curl -v -L http://localhost:5000/pulse/?lat=41.225&amp;lon=-73.1
  </code></pre>
  
  <p>Server responds, with verbose curl output:</p>
  
  <pre><code>* Connected to localhost (127.0.0.1) port 5000 (#0)
  &gt; GET /pulse/?lat=41.225 HTTP/1.1
  &gt; User-Agent: curl/7.21.6 (i686-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
  &gt; Host: localhost:5000
  &gt; Accept: */*
  &gt; 
  * HTTP 1.0, assume close after body
  &lt; HTTP/1.0 500 INTERNAL SERVER ERROR
  &lt; Content-Type: application/json
  &lt; Content-Length: 444
  &lt; Server: Werkzeug/0.8.1 Python/2.7.2+
  &lt; Date: Wed, 01 Feb 2012 17:06:29 GMT
  &lt; 
  {
      "msg": "TypeError: float() argument must be a string or a number", 
      "flag": 0, 
      "stack": [
          "Traceback (most recent call last):", 
          "  File \"engine.py\", line 139, in dispatch_request", 
          "    return getattr(self, 'action_'+endpoint)(request, **values)", 
          "  File \"engine.py\", line 818, in action_getpulse", 
          "    lon = float(request.args.get('lon'))"
      ], 
      "err": 1
  * Closing connection #0
  }
  [1]+  Done
  </code></pre>
  
  <p>On the second line of that dump, it's obvious that the second param, <code>lon</code>, isn't being sent.  What am I doing wrong?  Thanks.</p>