Re: ftp(1): handle HTTP 308

2021-01-01 Thread Jeremie Courreges-Anglas
On Thu, Dec 31 2020, Lucas wrote: > Weekly bump chrisz@ had a similar diff, already ok'd by kn@ and me. Christopher, would you mind committing it? > Index: fetch.c > === > RCS file: /home/cvs/src/usr.bin/ftp/fetch.c,v > retrieving

Re: ftp(1): handle HTTP 308

2020-12-31 Thread Lucas
Weekly bump Index: fetch.c === RCS file: /home/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.198 diff -u -p -r1.198 fetch.c --- fetch.c 18 Oct 2020 20:35:18 - 1.198 +++ fetch.c 24 Dec 2020 14:03:03 - @@

ftp(1): handle HTTP 308

2020-12-24 Thread Lucas
Hello tech@, Given that ftp already deals with HTTP 307, I think we can teach it to deal with HTTP 308 too. HTTP 308 is to HTTP 301 what HTTP 307 is to HTTP 302: Permanently Moved, but doesn't allow to change the HTTP verb. Definition of HTTP 308 can be found in RFC 7538. oolong$ ftp -Mo