openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

Use GET instead of POST in richmaps ajax? #247

Closed slinkp closed 12 years ago

slinkp commented 12 years ago

I'm not sure why but openblockrichmap.js sends POST requests to /maps/headlines even though it is only retrieving data. Is there a concern that the URLs might get too long if there are a ton of items, or something?

I could be misreading but it looks like with the paging, there's never more than a handful of items.

slinkp commented 12 years ago

(In [a9366afa76fd01a367106df5a6d1ab85834bec60]) Use GET for read-only ajax request. Closes #254

slinkp commented 12 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/254 Reported by: slinkp