Book Image

ServiceStack 4 Cookbook

Book Image

ServiceStack 4 Cookbook

Overview of this book

Table of Contents (18 chapters)
ServiceStack 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Common HTTP status codes


The following table consists of Common HTTP status codes:

Code

Status text

Description

 

Informational responses

100

Continue

This interim response indicates that everything until now is OK, and that the client should continue with the request or ignore it if it is already finished.

101

Switching protocol

This code is sent in response to an upgrade: request header by the client and indicates the protocol, the server is switching to. It was introduced to allow migration to an incompatible protocol version and is not in common use.

Successful responses

200

OK

The request has succeeded.

201

Created

The request has succeeded, and a new resource has been created as a result of it. This is typically the response sent after a PUT request.

202

Accepted

The request has been received, but not yet acted upon. It is non-committal, which means that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request...