Open ai opened 7 months ago
To avoid unnecessary usage of proxy, proxy should process HTTP redirects on its own.
If user’s request returned 3xx, proxy should get the location and go there (check fetch API for the built-in option).
3xx
fetch
But we need to have some redirect limit, to avoid going A→B→A→B→… infinitely.
To avoid unnecessary usage of proxy, proxy should process HTTP redirects on its own.
If user’s request returned
3xx
, proxy should get the location and go there (checkfetch
API for the built-in option).But we need to have some redirect limit, to avoid going A→B→A→B→… infinitely.