1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>http::status</title> 5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast"> 8<link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2"> 9<link rel="prev" href="boost__beast__http__field.html" title="http::field"> 10<link rel="next" href="boost__beast__http__status_class.html" title="http::status_class"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="boost__beast__http__field.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__status_class.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h4 class="title"> 27<a name="beast.ref.boost__beast__http__status"></a><a class="link" href="boost__beast__http__status.html" title="http::status">http::status</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm46057509503408"></a> 31 </p> 32<h5> 33<a name="beast.ref.boost__beast__http__status.h0"></a> 34 <span class="phrase"><a name="beast.ref.boost__beast__http__status.synopsis"></a></span><a class="link" href="boost__beast__http__status.html#beast.ref.boost__beast__http__status.synopsis">Synopsis</a> 35 </h5> 36<p> 37 Defined in header <code class="literal"><<a href="../../../../../../boost/beast/http/status.hpp" target="_top">boost/beast/http/status.hpp</a>></code> 38 </p> 39<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">status</span> 40</pre> 41<h5> 42<a name="beast.ref.boost__beast__http__status.h1"></a> 43 <span class="phrase"><a name="beast.ref.boost__beast__http__status.values"></a></span><a class="link" href="boost__beast__http__status.html#beast.ref.boost__beast__http__status.values">Values</a> 44 </h5> 45<div class="informaltable"><table class="table"> 46<colgroup> 47<col> 48<col> 49</colgroup> 50<thead><tr> 51<th> 52 <p> 53 Name 54 </p> 55 </th> 56<th> 57 <p> 58 Description 59 </p> 60 </th> 61</tr></thead> 62<tbody> 63<tr> 64<td> 65 <p> 66 <code class="computeroutput"><span class="identifier">unknown</span></code> 67 </p> 68 </td> 69<td> 70 <p> 71 An unknown status-code. 72 </p> 73 <p> 74 This value indicates that the value for the status code is not 75 in the list of commonly recognized status codes. Callers interested 76 in the exactly value should use the interface which provides the 77 raw integer. 78 </p> 79 </td> 80</tr> 81<tr> 82<td> 83 <p> 84 <code class="computeroutput"><span class="identifier">continue_</span></code> 85 </p> 86 </td> 87<td> 88 </td> 89</tr> 90<tr> 91<td> 92 <p> 93 <code class="computeroutput"><span class="identifier">switching_protocols</span></code> 94 </p> 95 </td> 96<td> 97 <p> 98 Switching Protocols. 99 </p> 100 <p> 101 This status indicates that a request to switch to a new protocol 102 was accepted and applied by the server. A successful response to 103 a WebSocket Upgrade HTTP request will have this code. 104 </p> 105 </td> 106</tr> 107<tr> 108<td> 109 <p> 110 <code class="computeroutput"><span class="identifier">processing</span></code> 111 </p> 112 </td> 113<td> 114 </td> 115</tr> 116<tr> 117<td> 118 <p> 119 <code class="computeroutput"><span class="identifier">ok</span></code> 120 </p> 121 </td> 122<td> 123 </td> 124</tr> 125<tr> 126<td> 127 <p> 128 <code class="computeroutput"><span class="identifier">created</span></code> 129 </p> 130 </td> 131<td> 132 </td> 133</tr> 134<tr> 135<td> 136 <p> 137 <code class="computeroutput"><span class="identifier">accepted</span></code> 138 </p> 139 </td> 140<td> 141 </td> 142</tr> 143<tr> 144<td> 145 <p> 146 <code class="computeroutput"><span class="identifier">non_authoritative_information</span></code> 147 </p> 148 </td> 149<td> 150 </td> 151</tr> 152<tr> 153<td> 154 <p> 155 <code class="computeroutput"><span class="identifier">no_content</span></code> 156 </p> 157 </td> 158<td> 159 </td> 160</tr> 161<tr> 162<td> 163 <p> 164 <code class="computeroutput"><span class="identifier">reset_content</span></code> 165 </p> 166 </td> 167<td> 168 </td> 169</tr> 170<tr> 171<td> 172 <p> 173 <code class="computeroutput"><span class="identifier">partial_content</span></code> 174 </p> 175 </td> 176<td> 177 </td> 178</tr> 179<tr> 180<td> 181 <p> 182 <code class="computeroutput"><span class="identifier">multi_status</span></code> 183 </p> 184 </td> 185<td> 186 </td> 187</tr> 188<tr> 189<td> 190 <p> 191 <code class="computeroutput"><span class="identifier">already_reported</span></code> 192 </p> 193 </td> 194<td> 195 </td> 196</tr> 197<tr> 198<td> 199 <p> 200 <code class="computeroutput"><span class="identifier">im_used</span></code> 201 </p> 202 </td> 203<td> 204 </td> 205</tr> 206<tr> 207<td> 208 <p> 209 <code class="computeroutput"><span class="identifier">multiple_choices</span></code> 210 </p> 211 </td> 212<td> 213 </td> 214</tr> 215<tr> 216<td> 217 <p> 218 <code class="computeroutput"><span class="identifier">moved_permanently</span></code> 219 </p> 220 </td> 221<td> 222 </td> 223</tr> 224<tr> 225<td> 226 <p> 227 <code class="computeroutput"><span class="identifier">found</span></code> 228 </p> 229 </td> 230<td> 231 </td> 232</tr> 233<tr> 234<td> 235 <p> 236 <code class="computeroutput"><span class="identifier">see_other</span></code> 237 </p> 238 </td> 239<td> 240 </td> 241</tr> 242<tr> 243<td> 244 <p> 245 <code class="computeroutput"><span class="identifier">not_modified</span></code> 246 </p> 247 </td> 248<td> 249 </td> 250</tr> 251<tr> 252<td> 253 <p> 254 <code class="computeroutput"><span class="identifier">use_proxy</span></code> 255 </p> 256 </td> 257<td> 258 </td> 259</tr> 260<tr> 261<td> 262 <p> 263 <code class="computeroutput"><span class="identifier">temporary_redirect</span></code> 264 </p> 265 </td> 266<td> 267 </td> 268</tr> 269<tr> 270<td> 271 <p> 272 <code class="computeroutput"><span class="identifier">permanent_redirect</span></code> 273 </p> 274 </td> 275<td> 276 </td> 277</tr> 278<tr> 279<td> 280 <p> 281 <code class="computeroutput"><span class="identifier">bad_request</span></code> 282 </p> 283 </td> 284<td> 285 </td> 286</tr> 287<tr> 288<td> 289 <p> 290 <code class="computeroutput"><span class="identifier">unauthorized</span></code> 291 </p> 292 </td> 293<td> 294 </td> 295</tr> 296<tr> 297<td> 298 <p> 299 <code class="computeroutput"><span class="identifier">payment_required</span></code> 300 </p> 301 </td> 302<td> 303 </td> 304</tr> 305<tr> 306<td> 307 <p> 308 <code class="computeroutput"><span class="identifier">forbidden</span></code> 309 </p> 310 </td> 311<td> 312 </td> 313</tr> 314<tr> 315<td> 316 <p> 317 <code class="computeroutput"><span class="identifier">not_found</span></code> 318 </p> 319 </td> 320<td> 321 </td> 322</tr> 323<tr> 324<td> 325 <p> 326 <code class="computeroutput"><span class="identifier">method_not_allowed</span></code> 327 </p> 328 </td> 329<td> 330 </td> 331</tr> 332<tr> 333<td> 334 <p> 335 <code class="computeroutput"><span class="identifier">not_acceptable</span></code> 336 </p> 337 </td> 338<td> 339 </td> 340</tr> 341<tr> 342<td> 343 <p> 344 <code class="computeroutput"><span class="identifier">proxy_authentication_required</span></code> 345 </p> 346 </td> 347<td> 348 </td> 349</tr> 350<tr> 351<td> 352 <p> 353 <code class="computeroutput"><span class="identifier">request_timeout</span></code> 354 </p> 355 </td> 356<td> 357 </td> 358</tr> 359<tr> 360<td> 361 <p> 362 <code class="computeroutput"><span class="identifier">conflict</span></code> 363 </p> 364 </td> 365<td> 366 </td> 367</tr> 368<tr> 369<td> 370 <p> 371 <code class="computeroutput"><span class="identifier">gone</span></code> 372 </p> 373 </td> 374<td> 375 </td> 376</tr> 377<tr> 378<td> 379 <p> 380 <code class="computeroutput"><span class="identifier">length_required</span></code> 381 </p> 382 </td> 383<td> 384 </td> 385</tr> 386<tr> 387<td> 388 <p> 389 <code class="computeroutput"><span class="identifier">precondition_failed</span></code> 390 </p> 391 </td> 392<td> 393 </td> 394</tr> 395<tr> 396<td> 397 <p> 398 <code class="computeroutput"><span class="identifier">payload_too_large</span></code> 399 </p> 400 </td> 401<td> 402 </td> 403</tr> 404<tr> 405<td> 406 <p> 407 <code class="computeroutput"><span class="identifier">uri_too_long</span></code> 408 </p> 409 </td> 410<td> 411 </td> 412</tr> 413<tr> 414<td> 415 <p> 416 <code class="computeroutput"><span class="identifier">unsupported_media_type</span></code> 417 </p> 418 </td> 419<td> 420 </td> 421</tr> 422<tr> 423<td> 424 <p> 425 <code class="computeroutput"><span class="identifier">range_not_satisfiable</span></code> 426 </p> 427 </td> 428<td> 429 </td> 430</tr> 431<tr> 432<td> 433 <p> 434 <code class="computeroutput"><span class="identifier">expectation_failed</span></code> 435 </p> 436 </td> 437<td> 438 </td> 439</tr> 440<tr> 441<td> 442 <p> 443 <code class="computeroutput"><span class="identifier">misdirected_request</span></code> 444 </p> 445 </td> 446<td> 447 </td> 448</tr> 449<tr> 450<td> 451 <p> 452 <code class="computeroutput"><span class="identifier">unprocessable_entity</span></code> 453 </p> 454 </td> 455<td> 456 </td> 457</tr> 458<tr> 459<td> 460 <p> 461 <code class="computeroutput"><span class="identifier">locked</span></code> 462 </p> 463 </td> 464<td> 465 </td> 466</tr> 467<tr> 468<td> 469 <p> 470 <code class="computeroutput"><span class="identifier">failed_dependency</span></code> 471 </p> 472 </td> 473<td> 474 </td> 475</tr> 476<tr> 477<td> 478 <p> 479 <code class="computeroutput"><span class="identifier">upgrade_required</span></code> 480 </p> 481 </td> 482<td> 483 </td> 484</tr> 485<tr> 486<td> 487 <p> 488 <code class="computeroutput"><span class="identifier">precondition_required</span></code> 489 </p> 490 </td> 491<td> 492 </td> 493</tr> 494<tr> 495<td> 496 <p> 497 <code class="computeroutput"><span class="identifier">too_many_requests</span></code> 498 </p> 499 </td> 500<td> 501 </td> 502</tr> 503<tr> 504<td> 505 <p> 506 <code class="computeroutput"><span class="identifier">request_header_fields_too_large</span></code> 507 </p> 508 </td> 509<td> 510 </td> 511</tr> 512<tr> 513<td> 514 <p> 515 <code class="computeroutput"><span class="identifier">connection_closed_without_response</span></code> 516 </p> 517 </td> 518<td> 519 </td> 520</tr> 521<tr> 522<td> 523 <p> 524 <code class="computeroutput"><span class="identifier">unavailable_for_legal_reasons</span></code> 525 </p> 526 </td> 527<td> 528 </td> 529</tr> 530<tr> 531<td> 532 <p> 533 <code class="computeroutput"><span class="identifier">client_closed_request</span></code> 534 </p> 535 </td> 536<td> 537 </td> 538</tr> 539<tr> 540<td> 541 <p> 542 <code class="computeroutput"><span class="identifier">internal_server_error</span></code> 543 </p> 544 </td> 545<td> 546 </td> 547</tr> 548<tr> 549<td> 550 <p> 551 <code class="computeroutput"><span class="identifier">not_implemented</span></code> 552 </p> 553 </td> 554<td> 555 </td> 556</tr> 557<tr> 558<td> 559 <p> 560 <code class="computeroutput"><span class="identifier">bad_gateway</span></code> 561 </p> 562 </td> 563<td> 564 </td> 565</tr> 566<tr> 567<td> 568 <p> 569 <code class="computeroutput"><span class="identifier">service_unavailable</span></code> 570 </p> 571 </td> 572<td> 573 </td> 574</tr> 575<tr> 576<td> 577 <p> 578 <code class="computeroutput"><span class="identifier">gateway_timeout</span></code> 579 </p> 580 </td> 581<td> 582 </td> 583</tr> 584<tr> 585<td> 586 <p> 587 <code class="computeroutput"><span class="identifier">http_version_not_supported</span></code> 588 </p> 589 </td> 590<td> 591 </td> 592</tr> 593<tr> 594<td> 595 <p> 596 <code class="computeroutput"><span class="identifier">variant_also_negotiates</span></code> 597 </p> 598 </td> 599<td> 600 </td> 601</tr> 602<tr> 603<td> 604 <p> 605 <code class="computeroutput"><span class="identifier">insufficient_storage</span></code> 606 </p> 607 </td> 608<td> 609 </td> 610</tr> 611<tr> 612<td> 613 <p> 614 <code class="computeroutput"><span class="identifier">loop_detected</span></code> 615 </p> 616 </td> 617<td> 618 </td> 619</tr> 620<tr> 621<td> 622 <p> 623 <code class="computeroutput"><span class="identifier">not_extended</span></code> 624 </p> 625 </td> 626<td> 627 </td> 628</tr> 629<tr> 630<td> 631 <p> 632 <code class="computeroutput"><span class="identifier">network_authentication_required</span></code> 633 </p> 634 </td> 635<td> 636 </td> 637</tr> 638<tr> 639<td> 640 <p> 641 <code class="computeroutput"><span class="identifier">network_connect_timeout_error</span></code> 642 </p> 643 </td> 644<td> 645 </td> 646</tr> 647</tbody> 648</table></div> 649<h5> 650<a name="beast.ref.boost__beast__http__status.h2"></a> 651 <span class="phrase"><a name="beast.ref.boost__beast__http__status.description"></a></span><a class="link" href="boost__beast__http__status.html#beast.ref.boost__beast__http__status.description">Description</a> 652 </h5> 653</div> 654<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 655<td align="left"></td> 656<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie 657 Falco<p> 658 Distributed under the Boost Software License, Version 1.0. (See accompanying 659 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 660 </p> 661</div></td> 662</tr></table> 663<hr> 664<div class="spirit-nav"> 665<a accesskey="p" href="boost__beast__http__field.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__status_class.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> 666</div> 667</body> 668</html> 669