pages.md: browse-page snapshot fixtures ======================================= HTML snapshots of socle's browse pages, served over the hermetic fixture repo (see gitfixture_test.go; its pinned shas appear verbatim below). Each case is a `url` hunk (the GET target) and a `response` hunk (status, headers minus content-length, blank line, body). Regenerate with `go test -run TestPageSnapshots . -testmark.regen` and review the diff. index ----- The repo index: names, descriptions, newest commit subjects. [testmark]:# (index/url) ```text / ``` [testmark]:# (index/response) ```text status: 200 Content-Type: text/html; charset=utf-8 socle

repositories

fixturamathe fixtureadd docs and src
``` repo home --------- Clone URL, branches and tags, and the README rendered at HEAD. [testmark]:# (repo-home/url) ```text /fixturama/ ``` [testmark]:# (repo-home/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama

the fixture

clone: git clone http://socle.example/fixturama

files ยท log ยท branches: dev, main ยท tags: v1.0

Fixturama๐Ÿ”—

A repo that exists to be looked at.

``` tree listings ------------- The root tree, and a subdirectory (note the escaped space in the file link). [testmark]:# (tree-root/url) ```text /fixturama/tree/main/ ``` [testmark]:# (tree-root/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama @ main

fixturama

README.md49
docs/
src/
``` [testmark]:# (tree-docs/url) ```text /fixturama/tree/main/docs/ ``` [testmark]:# (tree-docs/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/docs @ main

docs

..
notes.md17
with space.txt25
``` file views ---------- Markdown renders; plain text shows preformatted. The sha-addressed variant also demonstrates the immutable cache header. [testmark]:# (file-markdown/url) ```text /fixturama/tree/main/README.md ``` [testmark]:# (file-markdown/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/README.md @ main

README.md

Fixturama๐Ÿ”—

A repo that exists to be looked at.

``` [testmark]:# (file-text/url) ```text /fixturama/tree/main/docs/with%20space.txt ``` [testmark]:# (file-text/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama/docs/with space.txt @ main

with space.txt

even this filename works
``` [testmark]:# (file-at-sha/url) ```text /fixturama/tree/9db23702e9ae3e8317b5dba562b0f3bd1cb25e7f/README.md ``` [testmark]:# (file-at-sha/response) ```text status: 200 Cache-Control: public, max-age=31536000, immutable Content-Type: text/html; charset=utf-8 fixturama/README.md @ 9db23702e9

README.md

Fixturama๐Ÿ”—

A repo that exists to be looked at.

``` log --- [testmark]:# (log-main/url) ```text /fixturama/log/main ``` [testmark]:# (log-main/response) ```text status: 200 Content-Type: text/html; charset=utf-8 fixturama log @ main

log: main

commitdateauthorsubject
9db23702e92026-01-02Ada Fixtureadd docs and src
64ac67a35d2026-01-02Ada Fixtureinaugurate with a readme
``` error pages ----------- A malformed ref is the client's fault; an unknown repo simply isn't there. [testmark]:# (err-bad-ref/url) ```text /fixturama/tree/main..dev/ ``` [testmark]:# (err-bad-ref/response) ```text status: 400 Content-Type: text/plain; charset=utf-8 X-Content-Type-Options: nosniff invalid: ref "main..dev" contains ".." ``` [testmark]:# (err-unknown-repo/url) ```text /nosuch/ ``` [testmark]:# (err-unknown-repo/response) ```text status: 404 Content-Type: text/plain; charset=utf-8 X-Content-Type-Options: nosniff 404 page not found ```