WebSocket
Simular Resposta 1013 Try Again Later
The server is terminating the connection due to a temporary condition, such as being overloaded. The client should reconnect after a back-off period.
Ver referência completa →1 Resposta HTTP
HTTP/1.1 1013 Try Again Later Content-Type: application/json Date: Tue, 25 Feb 2026 12:00:00 GMT
2 Testar com curl
curl -i https://httpbin.org/status/1013
3 Retornar 1013 Try Again Later no Seu Framework
django
from django.http import HttpResponse
def my_view(request):
return HttpResponse(status=1013) # Try Again Later
flask
from flask import Flask
app = Flask(__name__)
@app.route("/endpoint")
def my_endpoint():
return "", 1013 # Try Again Later
fastapi
from fastapi import FastAPI
from fastapi.responses import Response
app = FastAPI()
@app.get("/endpoint")
def my_endpoint():
return Response(status_code=1013) # Try Again Later
express.js
// Express.js
app.get('/endpoint', (req, res) => {
res.sendStatus(1013); // Try Again Later
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@RestController
public class MyController {
@GetMapping("/endpoint")
public ResponseEntity<Void> myEndpoint() {
return ResponseEntity
.status(1013) // Try Again Later
.build();
}
}
go net/http
package main
import "net/http"
func myHandler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(1013) // Try Again Later
}
ruby on rails
class MyController < ApplicationController
def my_action
head :try_again_later
end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
Results.StatusCode(1013) // Try Again Later
);