Safe2COVIDApp / bct-server

Bluetooth Contact Tracing for Covid19 - server
5 stars 1 forks source link

status/scan bounding box too big #65

Closed mitra42 closed 4 years ago

mitra42 commented 4 years ago

We need to handle bounding box requests being too large. I'm not sure what size is to be fixed at - maybe 2DP (1km) and this might need discussing.

danaronson commented 4 years ago

I think the size should be parameterized. I think a 400 response with a json error description in the body.

On Sun, Apr 26, 2020 at 3:45 PM Mitra Ardron notifications@github.com wrote:

We need to handle bounding box requests being too large. I'm not sure what size is to be fixed at - maybe 2DP (1km) and this might need discussing.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mitra42/bct-server/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYRXDX4VSXDMKW7AVSPP3ROS2QFANCNFSM4MRN7ZPA .

mitra42 commented 4 years ago

Decision on size in #68 - I'll implement an error if its >2DP (for now) and parameterize it

mitra42 commented 4 years ago

Merged in PR#79