noaa icon indicating copy to clipboard operation
noaa copied to clipboard

Extra redirect in API call

Open zbyte64 opened this issue 6 years ago • 0 comments

The initial requested url has an extra / which the server returns a correcting redirect. This is one extra round trip that can be eliminated.

2019-08-04 18:50:46,511 https://api.weather.gov:443 "GET //points/36.302098,-119.499044 HTTP/1.1" 301 539
2019-08-04 18:50:46,517 https://api.weather.gov:443 "GET /points/36.3021,-119.499 HTTP/1.1" 200 811

zbyte64 avatar Aug 04 '19 18:08 zbyte64