You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returning "Bad Gateway" to poor user input is confusing, especially as other requests are still accepted and responded to.
The second set of requests should get a 'user error' response, like "400 Bad Request" perhaps.
Interestingly,
Poorly formed query strings result in a 502 response:
This request has
format=text&format=post
in the query string.Similarly:
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?service=station&format=post&format=post
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?format=post&service=station&net=GE&format=text
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?service=station&net=GE&format=text&format=post
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?service=station&net=GE&format=post&format=post
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?format=post&format=post"
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?format=x&format=x"
and
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?service=station&service=station
all respond with 502.
Returning "Bad Gateway" to poor user input is confusing, especially as other requests are still accepted and responded to.
The second set of requests should get a 'user error' response, like "400 Bad Request" perhaps.
Interestingly,
https://geofon.gfz-potsdam.de/eidaws/routing/1/query?format=x
(one format argument) does get a 400 response.
The text was updated successfully, but these errors were encountered: