starsz commented on pull request #3883:
URL: https://github.com/apache/apisix/pull/3883#issuecomment-822583552


   > > > Before this PR, what was the data returned by 5xx and 4xx?
   > > 
   > > 
   > > any response? @starsz
   > 
   > Let me test and list the response.
   
   The internal error: 
   500:
   ```
   <html>
   <head><title>500 Internal Server Error</title></head>
   <body>
   <center><h1>500 Internal Server Error</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   502: 
   ```
   <html>
   <head><title>502 Bad Gateway</title></head>
   <body>
   <center><h1>502 Bad Gateway</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   503:
   ```
   <html>
   <head><title>503 Service Temporarily Unavailable</title></head>
   <body>
   <center><h1>503 Service Temporarily Unavailable</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   504:
   ```
   <html>
   <head><title>504 Gateway Time-out</title></head>
   <body>
   <center><h1>504 Gateway Time-out</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   400:
   ```<html>
   <head><title>400 Bad Request</title></head>
   <body>
   <center><h1>400 Bad Request</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   401:
   ```
   <html>
   <head><title>401 Authorization Required</title></head>
   <body>
   <center><h1>401 Authorization Required</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```
   
   404:
   ```
   <html>
   <head><title>404 Not Found</title></head>
   <body>
   <center><h1>404 Not Found</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to