RunHaiku 4.5repeat 2
Plan-execute on HTTP 301 vs 308
claude-haiku-4-5-20251001__plan-execute__research-http-redirects__r2
Score
0.917
- Cost
- $0.146
- + $0.059 judging
- Latency
- 1m 59s
- setup 0.1s, grading 5.1s
- Turns
- 27
- Tool calls
- 23
- Subagents
- 0
- Tokens in / out
- 347k / 8.7k
- 305,415 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 | 28.2s | $0.015 | 3 | 0 | claude-haiku-4-5-20251001 |
| Execute | 1m 31s | $0.131 | 24 | 23 | claude-haiku-4-5-20251001 |
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-haiku-4-5-20251001 --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, E2. “HTTP status codes 301 (Moved Permanently) and 308 (Permanent Redirect) are both used to indicate permanent redirects”
- 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 E4, E5. “With 308, since the method is preserved, the original request body would be preserved and resent with the redirect request.”
- 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 E3, E4, E5. “With a 301 response, a user agent may change the request method from POST to GET for the subsequent request for historical reasons”
- 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 E8. “Both 301 and 308 are heuristically cacheable by default.”
- partialStates that both codes are currently specified in RFC 9110 (HTTP Semantics), and that 308 was originally defined in RFC 7538, which RFC 9110 obsoletes.0.50weight 0.17
partial, backed by verified evidence E10, E9. “The 308 status code was originally defined in RFC 7538”
Penalties
No penalties were applied.
Scorer metadata
- corpus
- {"version":2,"snapshot":"2026-10-01","hash":"25fbed79c4f7f9e1b850436e0e4872f8e25dd80142f3177231c456f21817b817","documents":8}
- opened documents
- ["rfc9110","rfc7538","rfc7231"]
- opened by role
- {"primary":["rfc9110"],"superseded":["rfc7538","rfc7231"]}
- displayed share
- {"mdn-status-301":0.4954,"rfc7231":0.0486,"mdn-status-308":0.4378,"rfc9110":0.0441,"rfc7538":1,"rfc9111":0.0065,"mdn-redirections":0.0473,"mdn-status-307":0.3221}
- cited count
- 2
- verified count
- 2
- hallucinated count
- 0
- citation integrity
- 1
- hallucinated urls
- []
- evidence block
- true
- evidence block repaired
- false
- evidence count
- 10
- verified quote count
- 9
- verified quote rate
- 0.9 (90%)
- evidence
- [{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 indicates target resource has been assigned a new permanent URI","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":"308 indicates target resource has been assigned a new permanent URI","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":"301 allows user agent to change request method from POST to GET","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/rfc7538.html","claim":"308 does not allow changing the request method from POST to GET","quote":"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/rfc9110.html","claim":"307 and 308 are method-preserving redirects","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 method is changed to GET or HEAD, content-specific headers are removed","quote":"If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to) Content-Encoding, Content-Language, Content-Location, Content-Type, Content-Length, Digest, Last-Modified.","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"Both 301 and 308 are heuristically cacheable","quote":"Responses with status codes that are defined as heuristically cacheable (e.g., 200, 203, 204, 206, 300, 301, 308, 404, 405, 410, 414, and 501 in this specification) can be reused by a cache with heuristic expiration unless otherwise indicated by the method definition or explicit cache controls","verified":false,"document":"rfc9110","failure":"no tool ever showed the run this passage"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"308 response is 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 [RFC7234], Section 4.2.2).","verified":true,"document":"rfc7538"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html","claim":"301 is specified in RFC 9110","quote":"15.4.2. 301 Moved Permanently","verified":true,"document":"rfc9110"},{"url":"https://www.rfc-editor.org/rfc/rfc7538.html","claim":"308 is specified in RFC 7538 and referenced in RFC 9110","quote":"This document specifies the additional Hypertext Transfer Protocol (HTTP) status code 308 (Permanent Redirect).","verified":true,"document":"rfc7538"}]
- judge unverified quotes
- 0
- judge verdicts
- [{"names":{"status":"met","support":["E1","E2"]},"method-preserved-308":{"status":"met","support":["E4","E5"]},"method-change-301":{"status":"met","support":["E3","E4","E5"]},"cacheable":{"status":"met","support":["E7","E8"]},"specifications":{"status":"partial","support":["E10","E9"]}},{"names":{"status":"met","support":["E1","E2"]},"method-preserved-308":{"status":"met","support":["E4","E5"]},"method-change-301":{"status":"met","support":["E3","E5"]},"cacheable":{"status":"met","support":["E7","E8"]},"specifications":{"status":"partial","support":["E10","E9"]}},{"names":{"status":"met","support":["E1","E2"]},"method-preserved-308":{"status":"partial","support":["E4"]},"method-change-301":{"status":"met","support":["E3","E5"]},"cacheable":{"status":"met","support":["E7"]},"specifications":{"status":"partial","support":["E9","E10"]}}]
- judge failures
- 0
- grounded weight share
- 1
Final answer
Based on my research, I now have comprehensive information about both status codes. Let me compile the answer with proper evidence.
Answer
HTTP status codes 301 (Moved Permanently) and 308 (Permanent Redirect) are both used to indicate permanent redirects, but they differ significantly in how they handle request methods and request bodies.
Meaning:
Both 301 and 308 indicate that the target resource has been permanently assigned a new URI and future references to the resource should use the new URI (https://www.rfc-editor.org/rfc/rfc9110.html). The fundamental semantic difference is in how clients should handle the original request when following the redirect.
Request Method Handling:
The critical distinction lies in request method preservation. With a 301 response, a user agent may change the request method from POST to GET for the subsequent request for historical reasons (https://www.rfc-editor.org/rfc/rfc9110.html). In contrast, 308 does not allow changing the request method from POST to GET—it preserves the original method (https://www.rfc-editor.org/rfc/rfc7538.html). RFC 9110 explicitly notes that 307 and 308 were added as "method-preserving redirects" to provide unambiguous semantics (https://www.rfc-editor.org/rfc/rfc9110.html).
Request Body Handling:
When a client receives a 301 and changes the request method to GET, the request body is not sent with the subsequent request. This is because RFC 9110 specifies that when the request method is changed to GET or HEAD, "remove content-specific header fields, including (but not limited to) Content-Encoding, Content-Language, Content-Location, Content-Type, Content-Length, Digest, Last-Modified" (https://www.rfc-editor.org/rfc/rfc9110.html). With 308, since the method is preserved, the original request body would be preserved and resent with the redirect request.
Cacheability:
Both 301 and 308 are heuristically cacheable by default. RFC 9110 lists both in its examples of "status codes that are defined as heuristically cacheable (e.g., 200, 203, 204, 206, 300, 301, 308, 404, 405, 410, 414, and 501 in this specification)" (https://www.rfc-editor.org/rfc/rfc9110.html). RFC 7538 specifies that "A 308 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls" (https://www.rfc-editor.org/rfc/rfc7538.html).
Current Specification Locations:
The 301 status code is currently specified in RFC 9110: HTTP Semantics (Section 15.4.2), which is the current HTTP semantics standard that supersedes RFC 7231 (https://www.rfc-editor.org/rfc/rfc9110.html). The 308 status code was originally defined in RFC 7538: The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect) published in April 2015, and is also referenced in RFC 9110 (https://www.rfc-editor.org/rfc/rfc7538.html).
{"evidence": [
{"claim": "301 indicates target resource has been assigned a new permanent URI", "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": "308 indicates target resource has been assigned a new permanent URI", "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": "301 allows user agent to change request method from POST to GET", "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": "308 does not allow changing the request method from POST to GET", "quote": "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": "307 and 308 are method-preserving redirects", "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 method is changed to GET or HEAD, content-specific headers are removed", "quote": "If the request method has been changed to GET or HEAD, remove content-specific header fields, including (but not limited to) Content-Encoding, Content-Language, Content-Location, Content-Type, Content-Length, Digest, Last-Modified.", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "Both 301 and 308 are heuristically cacheable", "quote": "Responses with status codes that are defined as heuristically cacheable (e.g., 200, 203, 204, 206, 300, 301, 308, 404, 405, 410, 414, and 501 in this specification) can be reused by a cache with heuristic expiration unless otherwise indicated by the method definition or explicit cache controls", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 response is 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 [RFC7234], Section 4.2.2).", "url": "https://www.rfc-editor.org/rfc/rfc7538.html"},
{"claim": "301 is specified in RFC 9110", "quote": "15.4.2. 301 Moved Permanently", "url": "https://www.rfc-editor.org/rfc/rfc9110.html"},
{"claim": "308 is specified in RFC 7538 and referenced in RFC 9110", "quote": "This document specifies the additional Hypertext Transfer Protocol (HTTP) status code 308 (Permanent Redirect).", "url": "https://www.rfc-editor.org/rfc/rfc7538.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.