Skip to content

phrohdoh/rs-rocket-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocket-test

A static file server written by following the Rocket getting started guide.

License

MIT

Usage:

$ cargo run

Then in your browser navigate to localhost:8000/files/foo.txt -- notice that you can read the text.

Now navigate to localhost:8000/files/bar.json.

This file does exist but it is a secret!

This is achieved by explicitly returning None in the files function.

Other information

Built with:

  • Rust 1.16.0-nightly (1a2ed98d3 2017-01-13)
  • Rocket 0.1.5

About

A simple static file server written in Rust with the Rocket framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages