Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cartermckinnon/redirect-server

Simple Golang server that leads a client through a redirect chain.
https://github.com/cartermckinnon/redirect-server

Last synced: 18 days ago
JSON representation

Simple Golang server that leads a client through a redirect chain.

Awesome Lists containing this project

README

        

# redirect-server

Simple Golang server that leads a client through a redirect chain.

This was used to test the behavior of popular web browsers, which follow between 15 and 20 redirects before giving up.

## Build

```shell
go build
```

## Usage

First:
```shell
redirect-server $PORT
```
Then:
```
curl http://localhost:$PORT/redirect/10
```