diff options
author | Eric Wong <e@yhbt.net> | 2020-03-21 02:03:54 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-03-25 01:48:35 +0000 |
commit | 6512b1245ebc6fe30bb32227c0ef8f912d4988ab (patch) | |
tree | 99e4b6ecbd1d8a381d0253c1aafdae8811570e23 /lib/PublicInbox/AltId.pm | |
parent | 7909c5f7439777e3b3643f14224b27f0a8f8fb07 (diff) | |
download | public-inbox-6512b1245ebc6fe30bb32227c0ef8f912d4988ab.tar.gz |
This ensures all our indexed data, including data from altid searches (e.g. "gmane:$ARTNUM") is retrievable. It uses a "POST" request to avoid wasting cycles when invoked by crawlers, since it could potentially be several megabytes of data not indexable by search engines.
Diffstat (limited to 'lib/PublicInbox/AltId.pm')
-rw-r--r-- | lib/PublicInbox/AltId.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/AltId.pm b/lib/PublicInbox/AltId.pm index 3be6c73c..6d16242a 100644 --- a/lib/PublicInbox/AltId.pm +++ b/lib/PublicInbox/AltId.pm @@ -39,6 +39,7 @@ sub new { bless { filename => $f, writable => $writable, + prefix => $prefix, xprefix => 'X'.uc($prefix), }, $class; } |