From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:4c7:: with SMTP id q7mr9962908qtx.226.1641687473988; Sat, 08 Jan 2022 16:17:53 -0800 (PST) X-Received: by 2002:a25:ba05:: with SMTP id t5mr90165295ybg.675.1641687473781; Sat, 08 Jan 2022 16:17:53 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 8 Jan 2022 16:17:53 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=118.208.161.138; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 118.208.161.138 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <51f11492-75ce-49d8-a360-bee8cb74c029n@googlegroups.com> Subject: How Do I Process A Redirection Message Using AWS From: Roger Mc Injection-Date: Sun, 09 Jan 2022 00:17:53 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63357 List-Id: I have an AWS based program that downloads JSON formatted messages. However, AWS returned the following HTML message for one request: ~~~ 307 Temporary Redirect Temporary Redirect The document has moved here . Apache/2.4.29 (Ubuntu) Server at www.openml.org Port 80 ~~~ which I decoded using an Ada program from ~~~ https://franckbehaghel.eu/programming/ada/ada-web-server-example/ -- http_req.php ~~~ I can't figure out how to implement the redirection to ~~~ Apache/2.4.29 (Ubuntu) Server at www.openml.org Port 80 ~~~ Any advice will be greatly appreciated