SIP

603 Decline रिस्पॉन्स का मॉक

The callee's machine was contacted successfully but the user explicitly does not wish to or cannot participate. Unlike 600, this may be because the callee doesn't want to communicate, not necessarily because they're busy.

पूर्ण संदर्भ देखें →

1 HTTP रिस्पॉन्स

HTTP रिस्पॉन्स
HTTP/1.1 603 Decline
Content-Type: application/json
Date: Tue, 25 Feb 2026 12:00:00 GMT

2 curl से परीक्षण करें

terminal
curl -i https://httpbin.org/status/603

3 अपने फ्रेमवर्क में 603 Decline वापस करें

django
from django.http import HttpResponse


def my_view(request):
    return HttpResponse(status=603)  # Decline
flask
from flask import Flask

app = Flask(__name__)


@app.route("/endpoint")
def my_endpoint():
    return "", 603  # Decline
fastapi
from fastapi import FastAPI
from fastapi.responses import Response

app = FastAPI()


@app.get("/endpoint")
def my_endpoint():
    return Response(status_code=603)  # Decline
express.js
// Express.js
app.get('/endpoint', (req, res) => {
  res.sendStatus(603); // Decline
});
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(603) // Decline
            .build();
    }
}
go net/http
package main

import "net/http"

func myHandler(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(603) // Decline
}
ruby on rails
class MyController < ApplicationController
  def my_action
    head :decline
  end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
    Results.StatusCode(603) // Decline
);

और SIP मॉक पेज