planned route: GET /<action>/<pasteid> (GET /?hash=<pasteid>&action=<action>)
planned actions:
[ ] raw - return the paste data verbatim without interpretation (default)
[ ] stats - return some information about the paste
[ ] redirect - treat the paste as a URL and serve a page to redirect to the URL
[ ] highlight?params - return the paste data run through source-highlight (parameters to specify behavior; at minimum, lexer parameter will be mandatory)
planned route:
GET /<action>/<pasteid>
(GET /?hash=<pasteid>&action=<action>
)planned actions:
raw
- return the paste data verbatim without interpretation (default)stats
- return some information about the pasteredirect
- treat the paste as a URL and serve a page to redirect to the URLhighlight?params
- return the paste data run throughsource-highlight
(parameters to specify behavior; at minimum,lexer
parameter will be mandatory)