atagen

jelq

public

an http based roguelike rpg about jelqing

Star0
Watch0
8ab6a1382c4c997e5e0544c2af62018ca376c78b
1
ssh://brewery@pls.lobotomise.me:33/atagen/jelq.git

Blame: src/game/hazards.rs

782069860236atagen2026-10-10 12:44 UTC1
use std::{ops::ControlFlow, time::SystemTime};
782069860236atagen2026-10-10 12:44 UTC2
782069860236atagen2026-10-10 12:44 UTC3
use axum::http::{StatusCode, header};
782069860236atagen2026-10-10 12:44 UTC4
use serde_json::json;
782069860236atagen2026-10-10 12:44 UTC5
782069860236atagen2026-10-10 12:44 UTC6
use super::{
8b8e83329a1datagen2026-10-12 12:01 UTC7
    Cause, Floor, Notice, Outcome, Run,
782069860236atagen2026-10-10 12:44 UTC8
    balance::{
4b1f5f88827datagen2026-10-13 10:18 UTC9
        BURN_RUPTURE, COLD_DEGLOVING, COLD_EQ, CURVE_MISSES, DANGER_EQ, DEGLOVING,
3ac624339c98atagen2026-10-13 12:21 UTC10
        DEGLOVING_INTENSITY, EQ_BAND, FRICTION_MAX, FRICTION_TEAR, FRIEND, HOT_EQ, LOST_IT_EQ,
3ac624339c98atagen2026-10-13 12:21 UTC11
        PREMATURE_EQ, RAW_DEGLOVING, RUPTURE_HOT, RUPTURE_IN_BAND, RUPTURE_PREMATURE, RUPTURE_WARM,
3ac624339c98atagen2026-10-13 12:21 UTC12
        SOFT_INTENSITY, SUSPICION_LIMIT, WANDERER_VISIT, WINDOW,
782069860236atagen2026-10-10 12:44 UTC13
    },
97c05b741d8fatagen2026-10-13 11:27 UTC14
    measure::round3,
782069860236atagen2026-10-10 12:44 UTC15
    techniques::Training,
8b8e83329a1datagen2026-10-12 12:01 UTC16
    travel::Exit,
782069860236atagen2026-10-10 12:44 UTC17
};
782069860236atagen2026-10-10 12:44 UTC18
use crate::problem::Problem;
782069860236atagen2026-10-10 12:44 UTC19
782069860236atagen2026-10-10 12:44 UTC20
type Interruption = Result<ControlFlow<Outcome>, Problem>;
782069860236atagen2026-10-10 12:44 UTC21
782069860236atagen2026-10-10 12:44 UTC22
impl Run {
8b8e83329a1datagen2026-10-12 12:01 UTC23
    /// Whether EQ is past `line`, with a friction burn dragging every line down.
8b8e83329a1datagen2026-10-12 12:01 UTC24
    pub(super) fn hotter_than(&self, line: i32) -> bool {
8b8e83329a1datagen2026-10-12 12:01 UTC25
        let burn = if self.body.conditions.friction_burn {
b85a0d4536c3atagen2026-10-11 08:50 UTC26
            BURN_RUPTURE
b85a0d4536c3atagen2026-10-11 08:50 UTC27
        } else {
b85a0d4536c3atagen2026-10-11 08:50 UTC28
            0
8b8e83329a1datagen2026-10-12 12:01 UTC29
        };
8b8e83329a1datagen2026-10-12 12:01 UTC30
        self.body.eq > line - burn
b85a0d4536c3atagen2026-10-11 08:50 UTC31
    }
b85a0d4536c3atagen2026-10-11 08:50 UTC32
b85a0d4536c3atagen2026-10-11 08:50 UTC33
    /// The rupture tier for any turn that is not a jelq, so never the premature band's 1 in 3.
b85a0d4536c3atagen2026-10-11 08:50 UTC34
    pub(super) fn rupture_odds(&self) -> u32 {
8b8e83329a1datagen2026-10-12 12:01 UTC35
        if !self.hotter_than(DANGER_EQ) {
b85a0d4536c3atagen2026-10-11 08:50 UTC36
            RUPTURE_IN_BAND
8b8e83329a1datagen2026-10-12 12:01 UTC37
        } else if !self.hotter_than(HOT_EQ) {
b85a0d4536c3atagen2026-10-11 08:50 UTC38
            RUPTURE_WARM
b85a0d4536c3atagen2026-10-11 08:50 UTC39
        } else {
b85a0d4536c3atagen2026-10-11 08:50 UTC40
            RUPTURE_HOT
b85a0d4536c3atagen2026-10-11 08:50 UTC41
        }
b85a0d4536c3atagen2026-10-11 08:50 UTC42
    }
b85a0d4536c3atagen2026-10-11 08:50 UTC43
bf5f8cb6f60fatagen2026-10-13 12:10 UTC44
    pub(super) fn cold(&self) -> bool {
bf5f8cb6f60fatagen2026-10-13 12:10 UTC45
        self.body.eq < COLD_EQ
bf5f8cb6f60fatagen2026-10-13 12:10 UTC46
    }
bf5f8cb6f60fatagen2026-10-13 12:10 UTC47
bf5f8cb6f60fatagen2026-10-13 12:10 UTC48
    pub(super) fn mishaps(
bf5f8cb6f60fatagen2026-10-13 12:10 UTC49
        &mut self,
bf5f8cb6f60fatagen2026-10-13 12:10 UTC50
        training: Training,
bf5f8cb6f60fatagen2026-10-13 12:10 UTC51
        intensity: i32,
bf5f8cb6f60fatagen2026-10-13 12:10 UTC52
        cold: bool,
bf5f8cb6f60fatagen2026-10-13 12:10 UTC53
    ) -> Interruption {
bf5f8cb6f60fatagen2026-10-13 12:10 UTC54
        if cold {
4b1f5f88827datagen2026-10-13 10:18 UTC55
            if !self.notices.contains(&Notice::ColdStart) {
4b1f5f88827datagen2026-10-13 10:18 UTC56
                self.notices.push(Notice::ColdStart);
4b1f5f88827datagen2026-10-13 10:18 UTC57
            }
4b1f5f88827datagen2026-10-13 10:18 UTC58
            if self.chance(
4b1f5f88827datagen2026-10-13 10:18 UTC59
                self.decision("cold-degloving", "Cold and unprepared, does the skin tear?"),
4b1f5f88827datagen2026-10-13 10:18 UTC60
                COLD_DEGLOVING,
4b1f5f88827datagen2026-10-13 10:18 UTC61
            ) {
97c05b741d8fatagen2026-10-13 11:27 UTC62
                return Err(self.deglove());
4b1f5f88827datagen2026-10-13 10:18 UTC63
            }
4b1f5f88827datagen2026-10-13 10:18 UTC64
        }
3ac624339c98atagen2026-10-13 12:21 UTC65
        if self.body.friction >= FRICTION_MAX {
3ac624339c98atagen2026-10-13 12:21 UTC66
            self.tear()?;
3ac624339c98atagen2026-10-13 12:21 UTC67
        }
3f9091557ec3atagen2026-10-11 11:43 UTC68
        if training == Training::Dry
3f9091557ec3atagen2026-10-11 11:43 UTC69
            && intensity >= DEGLOVING_INTENSITY
3f9091557ec3atagen2026-10-11 11:43 UTC70
            && self.chance(
3f9091557ec3atagen2026-10-11 11:43 UTC71
                self.decision("degloving", "Dry at this intensity, does the skin tear?"),
3f9091557ec3atagen2026-10-11 11:43 UTC72
                DEGLOVING,
3f9091557ec3atagen2026-10-11 11:43 UTC73
            )
3f9091557ec3atagen2026-10-11 11:43 UTC74
        {
97c05b741d8fatagen2026-10-13 11:27 UTC75
            return Err(self.deglove());
782069860236atagen2026-10-10 12:44 UTC76
        }
782069860236atagen2026-10-10 12:44 UTC77
        Ok(ControlFlow::Continue(()))
782069860236atagen2026-10-10 12:44 UTC78
    }
782069860236atagen2026-10-10 12:44 UTC79
3ac624339c98atagen2026-10-13 12:21 UTC80
    fn tear(&mut self) -> Result<(), Problem> {
3ac624339c98atagen2026-10-13 12:21 UTC81
        if !self.notices.contains(&Notice::SkinGivingWay) {
3ac624339c98atagen2026-10-13 12:21 UTC82
            self.notices.push(Notice::SkinGivingWay);
3ac624339c98atagen2026-10-13 12:21 UTC83
        }
3ac624339c98atagen2026-10-13 12:21 UTC84
        match self.body.foreskin {
3ac624339c98atagen2026-10-13 12:21 UTC85
            Some(left) if left - FRICTION_TEAR > 1e-9 => {
3ac624339c98atagen2026-10-13 12:21 UTC86
                self.body.foreskin = Some(left - FRICTION_TEAR);
3ac624339c98atagen2026-10-13 12:21 UTC87
                self.body.torn += FRICTION_TEAR;
3ac624339c98atagen2026-10-13 12:21 UTC88
                Ok(())
3ac624339c98atagen2026-10-13 12:21 UTC89
            }
3ac624339c98atagen2026-10-13 12:21 UTC90
            Some(left) => {
3ac624339c98atagen2026-10-13 12:21 UTC91
                self.body.foreskin = None;
3ac624339c98atagen2026-10-13 12:21 UTC92
                self.standing.shame += 25;
3ac624339c98atagen2026-10-13 12:21 UTC93
                Err(Problem::new(
3ac624339c98atagen2026-10-13 12:21 UTC94
                    StatusCode::GONE,
3ac624339c98atagen2026-10-13 12:21 UTC95
                    "foreskin-lost",
3ac624339c98atagen2026-10-13 12:21 UTC96
                    "The friction has removed the foreskin. It will not be returning.",
3ac624339c98atagen2026-10-13 12:21 UTC97
                )
3ac624339c98atagen2026-10-13 12:21 UTC98
                .with("foreskin", -round3(left))
3ac624339c98atagen2026-10-13 12:21 UTC99
                .header(header::CONTENT_LOCATION, self.path("/foreskin")))
3ac624339c98atagen2026-10-13 12:21 UTC100
            }
3ac624339c98atagen2026-10-13 12:21 UTC101
            None => {
3ac624339c98atagen2026-10-13 12:21 UTC102
                if self.chance(
3ac624339c98atagen2026-10-13 12:21 UTC103
                    self.decision("raw-degloving", "Rubbed raw, does the skin tear?"),
3ac624339c98atagen2026-10-13 12:21 UTC104
                    RAW_DEGLOVING,
3ac624339c98atagen2026-10-13 12:21 UTC105
                ) {
3ac624339c98atagen2026-10-13 12:21 UTC106
                    return Err(self.deglove());
3ac624339c98atagen2026-10-13 12:21 UTC107
                }
3ac624339c98atagen2026-10-13 12:21 UTC108
                Ok(())
3ac624339c98atagen2026-10-13 12:21 UTC109
            }
3ac624339c98atagen2026-10-13 12:21 UTC110
        }
3ac624339c98atagen2026-10-13 12:21 UTC111
    }
3ac624339c98atagen2026-10-13 12:21 UTC112
97c05b741d8fatagen2026-10-13 11:27 UTC113
    fn deglove(&mut self) -> Problem {
97c05b741d8fatagen2026-10-13 11:27 UTC114
        let lost = self.body.foreskin.take();
97c05b741d8fatagen2026-10-13 11:27 UTC115
        let problem = self.end(Cause::Degloved);
97c05b741d8fatagen2026-10-13 11:27 UTC116
        match lost {
97c05b741d8fatagen2026-10-13 11:27 UTC117
            Some(lost) => problem.with("foreskin", -round3(lost)),
97c05b741d8fatagen2026-10-13 11:27 UTC118
            None => problem,
97c05b741d8fatagen2026-10-13 11:27 UTC119
        }
97c05b741d8fatagen2026-10-13 11:27 UTC120
    }
97c05b741d8fatagen2026-10-13 11:27 UTC121
782069860236atagen2026-10-10 12:44 UTC122
    pub(super) fn hazards(&mut self, intensity: i32) -> Interruption {
8b8e83329a1datagen2026-10-12 12:01 UTC123
        if !self.hotter_than(PREMATURE_EQ)
3f9091557ec3atagen2026-10-11 11:43 UTC124
            && self.chance(
3f9091557ec3atagen2026-10-11 11:43 UTC125
                self.decision("rupture", "Does this jelq rupture something?"),
3f9091557ec3atagen2026-10-11 11:43 UTC126
                self.rupture_odds(),
3f9091557ec3atagen2026-10-11 11:43 UTC127
            )
3f9091557ec3atagen2026-10-11 11:43 UTC128
        {
782069860236atagen2026-10-10 12:44 UTC129
            return Err(self.rupture());
782069860236atagen2026-10-10 12:44 UTC130
        }
3f9091557ec3atagen2026-10-11 11:43 UTC131
        if self.floor.has_window()
8b8e83329a1datagen2026-10-12 12:01 UTC132
            && !self.items.kit.blinds
3f9091557ec3atagen2026-10-11 11:43 UTC133
            && self.oracle.chance_not(
3f9091557ec3atagen2026-10-11 11:43 UTC134
                self.decision("window", "Are the curtains still closed?"),
3f9091557ec3atagen2026-10-11 11:43 UTC135
                WINDOW,
3f9091557ec3atagen2026-10-11 11:43 UTC136
            )
3f9091557ec3atagen2026-10-11 11:43 UTC137
        {
8b8e83329a1datagen2026-10-12 12:01 UTC138
            self.standing.shame += 30;
8b8e83329a1datagen2026-10-12 12:01 UTC139
            self.online.filmed_at.get_or_insert_with(SystemTime::now);
782069860236atagen2026-10-10 12:44 UTC140
            return Ok(ControlFlow::Break(
782069860236atagen2026-10-10 12:44 UTC141
                Outcome::json(
782069860236atagen2026-10-10 12:44 UTC142
                    StatusCode::CREATED,
782069860236atagen2026-10-10 12:44 UTC143
                    json!({ "detail": "A neighbour was at the window. A recording has been created. It has been shared." }),
782069860236atagen2026-10-10 12:44 UTC144
                )
782069860236atagen2026-10-10 12:44 UTC145
                .header(header::LOCATION, self.path("/footage")),
782069860236atagen2026-10-10 12:44 UTC146
            ));
782069860236atagen2026-10-10 12:44 UTC147
        }
3f9091557ec3atagen2026-10-11 11:43 UTC148
        if self.floor == Floor::ChangingRoom
3f9091557ec3atagen2026-10-11 11:43 UTC149
            && self.chance(
3f9091557ec3atagen2026-10-11 11:43 UTC150
                self.decision("friend", "Does a friend walk in and offer to help?"),
3f9091557ec3atagen2026-10-11 11:43 UTC151
                FRIEND,
3f9091557ec3atagen2026-10-11 11:43 UTC152
            )
3f9091557ec3atagen2026-10-11 11:43 UTC153
        {
8b8e83329a1datagen2026-10-12 12:01 UTC154
            self.standing.shame += 1;
782069860236atagen2026-10-10 12:44 UTC155
            return Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC156
                StatusCode::USE_PROXY,
782069860236atagen2026-10-10 12:44 UTC157
                "friend",
782069860236atagen2026-10-10 12:44 UTC158
                "A friend has offered to help. Use Proxy is deprecated, and the server has declined on your behalf.",
782069860236atagen2026-10-10 12:44 UTC159
            ));
782069860236atagen2026-10-10 12:44 UTC160
        }
8b8e83329a1datagen2026-10-12 12:01 UTC161
        if self.body.conditions.peyronie
3f9091557ec3atagen2026-10-11 11:43 UTC162
            && self.chance(
3f9091557ec3atagen2026-10-11 11:43 UTC163
                self.decision(
3f9091557ec3atagen2026-10-11 11:43 UTC164
                    "misdirected",
3f9091557ec3atagen2026-10-11 11:43 UTC165
                    "With the curve, does the stroke land sharply to the left?",
3f9091557ec3atagen2026-10-11 11:43 UTC166
                ),
3f9091557ec3atagen2026-10-11 11:43 UTC167
                CURVE_MISSES,
3f9091557ec3atagen2026-10-11 11:43 UTC168
            )
3f9091557ec3atagen2026-10-11 11:43 UTC169
        {
782069860236atagen2026-10-10 12:44 UTC170
            return Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC171
                StatusCode::MISDIRECTED_REQUEST,
782069860236atagen2026-10-10 12:44 UTC172
                "misdirected",
782069860236atagen2026-10-10 12:44 UTC173
                "The technique landed slightly to the left. It was meant for a different server.",
782069860236atagen2026-10-10 12:44 UTC174
            ));
782069860236atagen2026-10-10 12:44 UTC175
        }
8b8e83329a1datagen2026-10-12 12:01 UTC176
        if intensity <= SOFT_INTENSITY && self.body.eq < *EQ_BAND.start() {
8b8e83329a1datagen2026-10-12 12:01 UTC177
            self.body.eq = (self.body.eq - LOST_IT_EQ).max(0);
782069860236atagen2026-10-10 12:44 UTC178
            return Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC179
                StatusCode::REQUEST_TIMEOUT,
782069860236atagen2026-10-10 12:44 UTC180
                "lost-it",
782069860236atagen2026-10-10 12:44 UTC181
                "The request took too long. It was lost.",
782069860236atagen2026-10-10 12:44 UTC182
            )
782069860236atagen2026-10-10 12:44 UTC183
            .header(header::CONNECTION, "close"));
782069860236atagen2026-10-10 12:44 UTC184
        }
8b8e83329a1datagen2026-10-12 12:01 UTC185
        if self.hotter_than(PREMATURE_EQ) {
3f9091557ec3atagen2026-10-11 11:43 UTC186
            if self.chance(
3f9091557ec3atagen2026-10-11 11:43 UTC187
                self.decision(
3f9091557ec3atagen2026-10-11 11:43 UTC188
                    "rupture",
3f9091557ec3atagen2026-10-11 11:43 UTC189
                    "Right at the edge of finishing, does it rupture instead?",
3f9091557ec3atagen2026-10-11 11:43 UTC190
                ),
3f9091557ec3atagen2026-10-11 11:43 UTC191
                RUPTURE_PREMATURE,
3f9091557ec3atagen2026-10-11 11:43 UTC192
            ) {
782069860236atagen2026-10-10 12:44 UTC193
                return Err(self.rupture());
782069860236atagen2026-10-10 12:44 UTC194
            }
8b8e83329a1datagen2026-10-12 12:01 UTC195
            self.standing.shame += 5;
8b8e83329a1datagen2026-10-12 12:01 UTC196
            self.next_floor(Exit::Premature);
782069860236atagen2026-10-10 12:44 UTC197
            return Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC198
                StatusCode::TOO_EARLY,
782069860236atagen2026-10-10 12:44 UTC199
                "premature",
782069860236atagen2026-10-10 12:44 UTC200
                "The floor has ended early. Everyone involved has agreed not to discuss it.",
782069860236atagen2026-10-10 12:44 UTC201
            ));
782069860236atagen2026-10-10 12:44 UTC202
        }
782069860236atagen2026-10-10 12:44 UTC203
        Ok(ControlFlow::Continue(()))
782069860236atagen2026-10-10 12:44 UTC204
    }
782069860236atagen2026-10-10 12:44 UTC205
9683736a2c5eatagen2026-10-10 13:15 UTC206
    /// The enemies suspicion summons on floors without Mum.
782069860236atagen2026-10-10 12:44 UTC207
    pub(super) fn floor_enemy(&mut self) -> Result<(), Problem> {
8b8e83329a1datagen2026-10-12 12:01 UTC208
        let visits = u32::from(self.standing.suspicion) + 1;
782069860236atagen2026-10-10 12:44 UTC209
        let wanders_in = matches!(self.floor, Floor::Bathroom | Floor::Hotel)
3f9091557ec3atagen2026-10-11 11:43 UTC210
            && self.oracle.ratio_choice(
3f9091557ec3atagen2026-10-11 11:43 UTC211
                self.decision("wanderer", "Does anyone else come through the door?"),
3f9091557ec3atagen2026-10-11 11:43 UTC212
                visits,
3f9091557ec3atagen2026-10-11 11:43 UTC213
                WANDERER_VISIT,
3f9091557ec3atagen2026-10-11 11:43 UTC214
                "No",
3f9091557ec3atagen2026-10-11 11:43 UTC215
                "Yes",
3f9091557ec3atagen2026-10-11 11:43 UTC216
            );
8b8e83329a1datagen2026-10-12 12:01 UTC217
        if self.standing.suspicion < SUSPICION_LIMIT && !wanders_in {
782069860236atagen2026-10-10 12:44 UTC218
            return Ok(());
782069860236atagen2026-10-10 12:44 UTC219
        }
782069860236atagen2026-10-10 12:44 UTC220
        match self.floor {
782069860236atagen2026-10-10 12:44 UTC221
            Floor::Bathroom => {
8b8e83329a1datagen2026-10-12 12:01 UTC222
                self.standing.suspicion = 0;
782069860236atagen2026-10-10 12:44 UTC223
                self.touch();
8b8e83329a1datagen2026-10-12 12:01 UTC224
                if self.items.stores.door_locks > 0 {
8b8e83329a1datagen2026-10-12 12:01 UTC225
                    self.items.stores.door_locks -= 1;
8b8e83329a1datagen2026-10-12 12:01 UTC226
                    self.notices.push(Notice::BrotherTriedTheDoor);
782069860236atagen2026-10-10 12:44 UTC227
                    return Ok(());
782069860236atagen2026-10-10 12:44 UTC228
                }
7d3fb63208bfatagen2026-10-11 04:38 UTC229
                self.here.brother_told = true;
782069860236atagen2026-10-10 12:44 UTC230
                Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC231
                    StatusCode::CONFLICT,
7d3fb63208bfatagen2026-10-11 04:38 UTC232
                    "brother",
7d3fb63208bfatagen2026-10-11 04:38 UTC233
                    "Your brother needs the bathroom. He will tell Mum.",
782069860236atagen2026-10-10 12:44 UTC234
                ))
782069860236atagen2026-10-10 12:44 UTC235
            }
9683736a2c5eatagen2026-10-10 13:15 UTC236
            Floor::ChangingRoom => {
8b8e83329a1datagen2026-10-12 12:01 UTC237
                self.standing.suspicion = 0;
782069860236atagen2026-10-10 12:44 UTC238
                self.touch();
058650ec79d6atagen2026-10-12 10:49 UTC239
                if self.girth_respected() {
8b8e83329a1datagen2026-10-12 12:01 UTC240
                    self.notices.push(Notice::GymStaffLeaveIt);
058650ec79d6atagen2026-10-12 10:49 UTC241
                    return Ok(());
058650ec79d6atagen2026-10-12 10:49 UTC242
                }
8b8e83329a1datagen2026-10-12 12:01 UTC243
                self.standing.shame += 5;
782069860236atagen2026-10-10 12:44 UTC244
                Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC245
                    StatusCode::UNAVAILABLE_FOR_LEGAL_REASONS,
782069860236atagen2026-10-10 12:44 UTC246
                    "gym-staff",
782069860236atagen2026-10-10 12:44 UTC247
                    "Gym staff have been notified. The server cannot serve this request for legal reasons.",
782069860236atagen2026-10-10 12:44 UTC248
                ))
782069860236atagen2026-10-10 12:44 UTC249
            }
782069860236atagen2026-10-10 12:44 UTC250
            Floor::Hotel => {
8b8e83329a1datagen2026-10-12 12:01 UTC251
                self.standing.suspicion = 0;
782069860236atagen2026-10-10 12:44 UTC252
                self.touch();
8b8e83329a1datagen2026-10-12 12:01 UTC253
                if self.items.kit.dnd_sign {
8b8e83329a1datagen2026-10-12 12:01 UTC254
                    self.notices.push(Notice::HousekeepingReadTheSign);
782069860236atagen2026-10-10 12:44 UTC255
                    return Ok(());
782069860236atagen2026-10-10 12:44 UTC256
                }
8b8e83329a1datagen2026-10-12 12:01 UTC257
                self.standing.shame += 3;
782069860236atagen2026-10-10 12:44 UTC258
                Err(Problem::new(
782069860236atagen2026-10-10 12:44 UTC259
                    StatusCode::UNAUTHORIZED,
782069860236atagen2026-10-10 12:44 UTC260
                    "housekeeping",
782069860236atagen2026-10-10 12:44 UTC261
                    "Housekeeping has entered. Housekeeping accepts no excuses.",
782069860236atagen2026-10-10 12:44 UTC262
                )
782069860236atagen2026-10-10 12:44 UTC263
                .header(header::WWW_AUTHENTICATE, "Excuse realm=\"housekeeping\""))
782069860236atagen2026-10-10 12:44 UTC264
            }
782069860236atagen2026-10-10 12:44 UTC265
            _ => Ok(()),
782069860236atagen2026-10-10 12:44 UTC266
        }
782069860236atagen2026-10-10 12:44 UTC267
    }
782069860236atagen2026-10-10 12:44 UTC268
}