Changeset 9617 for src


Ignore:
Timestamp:
Aug 30, 2011, 12:35:40 PM (13 years ago)
Author:
rick
Message:

Make sure to present the right mime-type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/feature.py

    r9596 r9617  
    2424    }
    2525    geojson.append(item)
    26   return HttpResponse(json.dumps({'type' : 'FeatureCollection', 'features' : geojson},indent=2), mimetype="text/plain")
     26  return HttpResponse(json.dumps({'type' : 'FeatureCollection', 'features' : geojson},indent=2),
     27     content_type='application/json; charset=utf8')
Note: See TracChangeset for help on using the changeset viewer.