ExSpring83

June 20, 2022 · View on GitHub

Elixir CI Coverage Status

This is an attempt to implement the Spring '83 spec designed by Robin Sloan at: Spring '83

Further description of Spring '83 can be found in Robin's newsletter: Specifying Spring ‘83

Key pairs

To generate a Spring '83 key pair, run mix spring83.key_gen

Server

To run the ExSpring83 server, run mix spring83.server (which is an alias for mix run --no-halt) and check http://localhost:4040/

Client

Not implemented. In the meantime:

 curl -v -X PUT \
         -H "Spring-Version: 83" \
         -H "Content-Type: text/html;charset=utf-8" \
         -H "If-Unmodified-Since: Sun, 12 Jun 2022 02:39:31 GMT" \
         -H "Authorization: Spring-83 Signature=<sig>" \
         -d '<meta http-equiv="last-modified" content="Sun, 12 Jun 2022 02:39:31 GMT">' \
         http://localhost:4040/<public_key>