Date | Commit message (Collapse) |
|
Implying a tip would make for ambiguous URLs and ruin
caching, so try to get everybody to hit the same URL.
This also simplifies some of our other code since
the tip is always in the request.
|
|
For everything with relevant content, we'll try to set
UTF-8 charset and reduce duplication when generating
response headers.
|
|
Avoid using '=>' arrow notation for arrays and array references,
it is confusing and more verbose. Additionally, combine
"use constant" statements when possible.
|
|
This makes it more consistent with how we use the Inbox
objects for the main code.
|
|
Query strings make endpoint caching more difficult since
they're order-independent. They are also more likely lost
or truncated inadvertantly when copy+pasting, so try to
avoid them for default endpoints.
There's still some things which are broken and followup
commits will be needed to fix them.
|
|
This improves startup speed at the cost of CoW-friendliness
for long-lived daemons (which can be fixed, later).
|
|
We'll still be keeping "repobrowse" for the public API
for use with .psgi files, but shortening the name means
less typing and we may have command-line tools, too.
|