Bug 53292 - add support for HTTP status code 308
Summary: add support for HTTP status code 308
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2012-05-25 06:50 UTC by Julian Reschke
Modified: 2018-08-02 19:08 UTC (History)
0 users



Attachments
Proposed patch, adding 308 to the known redirect status codes (1.84 KB, patch)
2012-07-05 14:31 UTC, Julian Reschke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Reschke 2012-05-25 06:50:00 UTC
It's currently impossible to use the Redirect directive with status code 308 because:

"Other status codes can be returned by giving the numeric status code as the value of status. If the status is between 300 and 399, the URL argument must be present, otherwise it must be omitted. Note that the status must be known to the Apache code (see the function send_error_response in http_protocol.c)."-- <http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect>

Status 308 is defined in

  <http://tools.ietf.org/html/draft-reschke-http-status-308-07>

as referenced from the IANA status code registry at

  <http://www.iana.org/assignments/http-status-codes/http-status-codes.xml>
Comment 1 Julian Reschke 2012-07-05 14:31:25 UTC
Created attachment 29035 [details]
Proposed patch, adding 308 to the known redirect status codes
Comment 2 Stefan Fritsch 2012-07-15 21:55:09 UTC
r1361784
r1361791
Comment 3 Christophe JAILLET 2018-08-02 19:08:37 UTC
This is in the 2.4.x branch since 2.4.3

This is not in 2.2.x, but it is EOL now, so will never be there.