I'm writing a http handling library and now dealing with reduction. I'm a little confused about the response code 301
, it said that when 301 happens, it is allowed to change the request method from POST to GET
.
Since POST method contains bodies while GET doesn't, how could I resend the original POST request to the new location with GET, without losing bodies?
And why the protocol allow this changing, any particularly reason?