RunSonnet 5.5repeat 1
Plan-execute on HTTP 301 vs 308
claude-sonnet-5-5__plan-execute__research-http-redirects__r1
Score
1.000
- Cost
- $0.150
- + $0.068 judging
- Latency
- 41.0s
- setup 0.0s, grading 4.8s
- Turns
- 13
- Tool calls
- 10
- Subagents
- 0
- Tokens in / out
- 65k / 5.6k
- 41,207 read from cache
Did the design run?
- Run completed: heldharness.run-completedThe environment was built, the architecture returned and grading finished, none of them throwing.
- No API failures: heldharness.apiNo model call failed at the API.
- Every call ended: heldharness.calls-endedEvery call ended with a result, or was stopped by the run's own limits.
- No harness tool denied: heldharness.harness-toolsThe sandbox guard never denied a harness tool, nor a tool the session itself offered.
- Tool servers connected: heldharness.mcp-connectedEvery tool server the harness gave a call was connected when the session started.
- No foreign tool servers: heldharness.mcp-hermeticNo call loaded a tool server the harness did not give it.
- Builtin tools: heldharness.builtin-toolsA check recorded with the run.
- Structured replies arrived: heldharness.structured-outputEvery call that asked for structured output and ran to the end got it.
- No silent fallbacks: heldharness.not-degradedNo phase fell back on a default (an empty plan, a default winner) instead of its output.
- Judge answered: heldharness.judgeAt least one grading call returned a usable verdict.
- The plan was a plan: heldplan-execute.planThe planner’s reply was read through its schema and held at least one step.
- Each call was shown the right tools: heldplan-execute.toolsThe planner was shown no tools and the executor the task’s full toolset.
Phases
Drawn from the phase records: timing and cost per call, no tool calls or messages.
| Phase | Duration | Cost | Turns | Tools | Model |
|---|---|---|---|---|---|
| Plan | 13.0s | $0.020 | 2 | 0 | claude-sonnet-5-5 |
| Execute | 27.9s | $0.130 | 11 | 10 | claude-sonnet-5-5 |
The call-by-call replay is not published for this run. Traces are large, so the repository keeps 9 of this run set’s 900 and leaves the rest out; the score, phases and final answer on this page come from the committed run record.
Runs you can replay
- A gate that blocked the right moveGated-execute · Haiku 4.5
- Three proposals beat one agentPropose-select · Haiku 4.5
- A verifier that earned its keepPlan-execute-verify · Sonnet 5.5
- A revision that did not helpPlan-execute-verify · Haiku 4.5
- The control, missing a stepSingle · Haiku 4.5
Record this cell yourself: npm run bench -- run --strategies plan-execute --tasks research-http-redirects --models claude-sonnet-5-5 --repeats 1
Score breakdown
- passStates that 301 is "Moved Permanently" and 308 is "Permanent Redirect", and that both indicate the target resource has been assigned a new permanent URI.1.00weight 0.17
met, backed by verified evidence E1, E4. “Each says the target resource "has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs."”
- passStates that a client following a 308 must not change the request method: a POST is repeated as a POST, with its body.1.00weight 0.25
met, backed by verified evidence E6, E10. “A client following a 308 therefore resends the same method, and for POST that means the same body, to the new URI.”
- passStates that when following a 301 a user agent MAY change the request method from POST to GET (for historical reasons), which is the behaviour 308 exists to rule out.1.00weight 0.25
met, backed by verified evidence E2, E6. “"For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request." It adds that if this is undesired, 308 can be used instead.”
- passStates that both 301 and 308 responses are heuristically cacheable, i.e. a cache may reuse them by default unless the method definition or explicit cache controls say otherwise.1.00weight 0.17
met, backed by verified evidence E3, E5. “RFC 9110 says "A 301 response is heuristically cacheable" and "A 308 response is heuristically cacheable". In both cases this applies unless the method definition or explicit cache controls say otherwise”
- passStates that both codes are currently specified in RFC 9110 (HTTP Semantics), and that 308 was originally defined in RFC 7538, which RFC 9110 obsoletes.1.00weight 0.17
met, backed by verified evidence E8, E9. “RFC 7538 (April 2015) was the original definition of 308.”
Penalties
No penalties were applied.
Scorer metadata
- corpus
- {"version":2,"snapshot":"2026-10-01","hash":"25fbed79c4f7f9e1b850436e0e4872f8e25dd80142f3177231c456f21817b817","documents":8}
- opened documents
- ["rfc9110","rfc7538"]
- opened by role
- {"primary":["rfc9110"],"superseded":["rfc7538"]}
- displayed share
- {"rfc9110":0.061,"rfc7538":0.782}
- cited count
- 2
- verified count
- 2
- hallucinated count
- 0
- citation integrity
- 1
- hallucinated urls
- []
- evidence block
- true
- evidence block repaired
- false
- evidence count
- 12
- verified quote count
- 12
- verified quote rate
- 1
- evidence
- [{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 defines 301 as a permanent move to a new URI, in section 15.4.2","quote":"The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"For 301, a user agent may change POST to GET, and 308 is the alternative if that is undesired","quote":"For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 responses are heuristically cacheable","quote":"A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 defines 308 as a permanent move to a new URI, in section 15.4.9","quote":"The 308 (Permanent Redirect) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"308 responses are heuristically cacheable","quote":"A 308 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"History: 301/302 were originally method-preserving, practice converged on GET, and 307/308 were added to unambiguously preserve the method","quote":"307 (Temporary Redirect) and 308 (Permanent Redirect) [RFC7538] were later added to unambiguously indicate method-preserving redirects, and status codes 301 and 302 have been adjusted to allow a POST request to be redirected as GET.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"When the method becomes GET or HEAD, content-specific headers are removed from the redirected request","quote":"If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to)","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110 obsoletes RFC 7231 and RFC 7538, so it is where 301 and 308 are now specified","quote":"This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 originally defined 308 as the permanent counterpart of 307, which does not allow POST to become GET","quote":"Section 6.4.7 of [RFC7231] states that it does not define a permanent variant of status code 307; this specification adds the status code 308, defining this missing variant (Section 3).","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 says 308 is like 301 except that it does not allow changing the method from POST to GET","quote":"Note: This status code is similar to 301 (Moved Permanently) ([RFC7231], Section 6.4.2), except that it does not allow changing the request method from POST to GET.","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"RFC 7538 describes 308 as cacheable by default","quote":"A 308 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls (see","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"RFC 9110's 307 section explicitly forbids changing the method","quote":"the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.","verified":true,"document":"rfc9110"}]
- judge unverified quotes
- 0
- judge verdicts
- [{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E6","E10"]},"method-change-301":{"status":"met","support":["E2","E6"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"met","support":["E8","E9"]}},{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E6","E10"]},"method-change-301":{"status":"met","support":["E2","E10"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"met","support":["E8","E9"]}},{"names":{"status":"met","support":["E1","E4"]},"method-preserved-308":{"status":"met","support":["E6","E10"]},"method-change-301":{"status":"met","support":["E2","E10"]},"cacheable":{"status":"met","support":["E3","E5"]},"specifications":{"status":"met","support":["E8","E9"]}}]
- judge failures
- 0
- grounded weight share
- 1
Final answer
Summary. 301 and 308 both mean "this resource has moved permanently." They differ only in what a client may do with the request method and body when it follows the redirect. For 301, a client may turn a POST into a GET. For 308, the method must stay the same.
What each means. RFC 9110 gives 301 and 308 the same core definition. Each says the target resource "has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs." Both say the server SHOULD send a Location header with the preferred new URI, and that the user agent MAY use it for automatic redirection (https://www.rfc-editor.org/rfc/rfc9110.html). Both also say a user agent with link-editing capability can permanently replace references to the old URI, though this is usually ignored unless the client is actively editing content. The sections are 15.4.2 for 301 and 15.4.9 for 308.
Method and body handling.
301. RFC 9110 says: "For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request." It adds that if this is undesired, 308 can be used instead.
- The reason is history. In HTTP/1.0, 301 and 302 were method-preserving, but early user agents split on whether to redirect POST as POST or as GET. "Prevailing practice eventually converged on changing the method to GET," so 301 was adjusted to allow that.
- The generic redirect-following rules in section 15.4 say that if the method has been changed to GET or HEAD, the client should remove content-specific headers such as
Content-TypeandContent-Length. The request body is effectively dropped in that case.
308. It was added so that a permanent redirect could unambiguously keep the method. RFC 7538 says it is "similar to 301 (Moved Permanently) ([RFC7231], Section 6.4.2), except that it does not allow changing the request method from POST to GET." RFC 9110 describes 307 and 308 as having been "added to unambiguously indicate method-preserving redirects." A client following a 308 therefore resends the same method, and for POST that means the same body, to the new URI.
- 308's own section in RFC 9110 (15.4.9) does not repeat a "MUST NOT change the method" sentence. By contrast, 307's section does: "the user agent MUST NOT change the request method." For 308, the method-preservation rule comes from RFC 7538 and from the 301 and 15.4 notes in RFC 9110.
- RFC 7538 also notes that 308 is newer, so servers should use it only where they are confident the client understands it. RFC 9110 has a similar note that it "might not be recognized everywhere."
Caching. Both are cacheable by default. RFC 9110 says "A 301 response is heuristically cacheable" and "A 308 response is heuristically cacheable". In both cases this applies unless the method definition or explicit cache controls say otherwise (it points to Section 4.2.2 of the caching spec, RFC 9111). RFC 7538 used different wording for 308: "cacheable by default." These read as the same idea in different words. I did not open RFC 7231's 301 text to compare it.
Where each is specified.
- Current spec. Both codes are in RFC 9110 (HTTP Semantics, June 2022): 301 in section 15.4.2 and 308 in section 15.4.9.
- Superseded specs. RFC 9110's header lists "Obsoletes: 2818, 7230, 7231, 7232, 7233, 7235, 7538, 7615, 7694". RFC 7231 was the older home of 301, and RFC 7538 (April 2015) was the original definition of 308. The RFC 7538 page I opened is the original 2015 text and does not show its later obsolescence. I took that from RFC 9110's header.
- IANA registry. I did not check it.
{"evidence": [
{"claim": "RFC 9110 defines 301 as a permanent move to a new URI, in section 15.4.2", "quote": "The 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "For 301, a user agent may change POST to GET, and 308 is the alternative if that is undesired", "quote": "For historical reasons, a user agent MAY change the request method from POST to GET for the subsequent request.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "301 responses are heuristically cacheable", "quote": "A 301 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110 defines 308 as a permanent move to a new URI, in section 15.4.9", "quote": "The 308 (Permanent Redirect) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 responses are heuristically cacheable", "quote": "A 308 response is heuristically cacheable; i.e., unless otherwise indicated by the method definition or explicit cache controls (see", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "History: 301/302 were originally method-preserving, practice converged on GET, and 307/308 were added to unambiguously preserve the method", "quote": "307 (Temporary Redirect) and 308 (Permanent Redirect) [RFC7538] were later added to unambiguously indicate method-preserving redirects, and status codes 301 and 302 have been adjusted to allow a POST request to be redirected as GET.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "When the method becomes GET or HEAD, content-specific headers are removed from the redirected request", "quote": "If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to)", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 9110 obsoletes RFC 7231 and RFC 7538, so it is where 301 and 308 are now specified", "quote": "This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "RFC 7538 originally defined 308 as the permanent counterpart of 307, which does not allow POST to become GET", "quote": "Section 6.4.7 of [RFC7231] states that it does not define a permanent variant of status code 307; this specification adds the status code 308, defining this missing variant (Section 3).", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 7538 says 308 is like 301 except that it does not allow changing the method from POST to GET", "quote": "Note: This status code is similar to 301 (Moved Permanently) ([RFC7231], Section 6.4.2), except that it does not allow changing the request method from POST to GET.", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 7538 describes 308 as cacheable by default", "quote": "A 308 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls (see", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "RFC 9110's 307 section explicitly forbids changing the method", "quote": "the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"}
]}Provenance of the numbers on this page
- run set
- scaffold-or-scale-v1
- models
- Haiku 4.5, Sonnet 5.5, Opus 5.5
- effort
- high
- repeats
- 2
- fixtures
- replay
- runs
- 900 / 900
- strategy cost
- $354.44
- judge cost
- $9.19
- wall clock
- 9h 48m
- git
- fce5807b2d
Cost excludes judge calls, which are tracked separately so a scoring model never flatters or penalises an architecture. Every figure on this site is read from results/ at build time.