305Status code
3xxRedirection
NoCacheable by default
RFC 9110 §15.4.6Defined in
Common causes
- Legacy systems only
What to do
Do not use; browsers ignore it for security reasons.
Example response
HTTP/1.1 305 Use Proxy Location: https://example.com/new-path Content-Length: 0
Returning 305 in code
Express res.status(305).json({ … });
Flask return jsonify(…), 305
PHP http_response_code(305);
Go w.WriteHeader(305)