Re: [PATCH] connectivity: allow 204 (no content) as connectivity test

2018-02-09 Thread Thomas Haller
On Thu, 2018-02-08 at 21:28 +0100, Aleksander Morgado wrote: > If the user is requesting an empty response ("") as expected string, > let the connectivity check succeed if we actually get a 204 HTTP > response code (reporting a successful request but without content). > > This allows using e.g. An

[PATCH] connectivity: allow 204 (no content) as connectivity test

2018-02-08 Thread Aleksander Morgado
If the user is requesting an empty response ("") as expected string, let the connectivity check succeed if we actually get a 204 HTTP response code (reporting a successful request but without content). This allows using e.g. Android's default URLs for the connectivity check purpose: [connecti