hobuinc / greyhound

Greyhound is a point cloud streaming server. It should be considered deprecated for now. Use Entwine and Entwine Point Tile directly if you just want to serve point cloud web services.
https://greyhound.io
Apache License 2.0
131 stars 51 forks source link

Poorly formed read request with bounds parameter should return status code of 400 #39

Closed chambbj closed 7 years ago

chambbj commented 7 years ago

User should get a HTTP status code of 400 when incorrectly entering the bounds.

For example,

http://data.greyhound.io/resource/red-rocks/read?depth=10&bounds[481960,4390170,481970,4390180]

where the = is missing after bounds, currently returns status code of 500 with a rather cryptic error message of "Unexpected token o".