Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cartermckinnon/redirect-server
- Owner: cartermckinnon
- Created: 2019-12-02T22:34:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T08:20:37.000Z (about 4 years ago)
- Last Synced: 2023-03-11T01:11:34.344Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```