Files
swift/swift
dongu 326e68d70d Fix a formpost reponse bug
The formpost middleware turns POST requests into object PUT requests.
This request goes through other middlewares.
Even if the user requests an object upload using formpost, the user should be able to know the contents of the error response that occurred in other middleware.
However, in formpost, using only the status received by the _perform_subrequest() method, the error response body is altered and returned to the user (e.g., `400 Bad Request`), so it is difficult for the user to know why the error occurred.
Therefore, not only status but also response should be added to the return value of _perform_subrequest(), and if there is an error response body, it should be delivered to the user without altering it.

Closes-Bug: #1990942
Change-Id: I4020e90dfaf7370a7941d123e9bea920c09b1aa0
2022-10-20 09:41:31 +09:00
..
2022-10-20 09:41:31 +09:00
2022-06-21 04:25:31 +00:00
2022-04-28 15:48:13 -07:00