Is the use of Location header in HTTP 202 response RFC-compliant?
问题 I have a great conceptual discussion with my coworkers about the use of Location header in 202 Accepted response. The story began analyzing the behavior of PHP header() function from here. The interesting excerpt: The second special case is the "Location:" header. Not only does it send this header back to the browser, but it also returns a REDIRECT (302) status code to the browser unless the 201 or a 3xx status code has already been set. They didn't include 202 status code in this default