1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

git push fix basics

This commit is contained in:
krircc 2018-04-15 10:37:52 +08:00
parent 15663241e0
commit 95deb8024e

View File

@ -12,9 +12,10 @@ cargo run
### web client ### web client
- [http://localhost:8080/index.html](http://localhost:8080/index.html) - [http://localhost:8080/](http://localhost:8080/static/index.html)
- [http://localhost:8080/async/bob](http://localhost:8080/async/bob) - [http://localhost:8080/async/bob](http://localhost:8080/async/bob)
- [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) plain/text download - [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) plain/text download
- [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other) - [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other)
- [http://localhost:8080/static/index.html](http://localhost:8080/static/index.html) - [http://localhost:8080/welcome](http://localhost:8080/static/welcome.html)
- [http://localhost:8080/static/notexit](http://localhost:8080/static/notexit) display 404 page - [http://localhost:8080/notexit](http://localhost:8080/static/404.html) display 404 page
- [http://localhost:8080/error](http://localhost:8080/error) Panic after request