博易大师期货版下载-淘宝无法打开
2023年4月4日发(作者:ntfsdos)
HttpStatusCodehttp响应状态码
HttpStatusCode/HttpresponseStatusCode
100theContinue
returnsenttotheclientisreceivedandisnotrejectedby
theserver.
Theclientshouldcontinuesendingtheremainingrequestdata
ortherequesthasbeencompleted,
servermustsend
Thelastreturnisaftertherequest.
101SwitchingseparateProtocols
Theserverchangestheapplicationprotocolforthecurrent
connection,usingtheUpgradeheaderinformation,asrequested
verwillchangethe
protocolimmediatelybasedontheUpgradeheader
Attheendofthe101returntotheemptyline.
Successful
========
200OK
Therequesttothecustomerserviceissuccessfullyreceived,
resolved,andaccepted.
201Created
Therequesthasbeencompletedandanewreturnresourceis
ourcecreatedmaybeaURIresource,whichis
lyshould
containanentitydata
Italsocontainstheresourcefeaturesandlocationtoselect
entitydataformatspecifiesthecontent-typeheaderbythe
lserver
Thespecifiedresourcemustbecreatedbeforereturningthe201
ehaviorisnotexecutedimmediately,the
servershouldreturn202.
202Accepted
process
uestmayormaynotbeexecutedatall
becausetheprocessingmayberejected.
203Non-AuthoritativeInformation
204NoContent
Theserverhasacceptedtherequestanddoesnotneedtoreturn
theentitydata,andmayneedtoreturntheupdateinformation.
Thereturnmessagemaycontainneworupdatedinformation
presentedbytheentity-headers.
205ResettheContent
Theserverhasacceptedtherequestandtheuseragentshould
resetthedocumentview.
206PartialContent
TheserverhasacceptedthepartoftherequesttoGETthe
uestmustcontainaRangeheadertoindicate
thattheaccessscopemayhavetocontaintheif-rangeheader
informationtosetuptherequestcondition.
Redirection
Forexample,therearetwothingsintheworld
300MultipleChoices
Therequestresourceconformstoanypresentation.
301versionPermanently
TherequestedresourcehasbeengivenanewURI.
302Found
Requestatemporaryfileoftheresourcethroughadifferent
URI.
303SeeOther
304NotModified
Ifthecustomerservicehascompletedaconditionalrequestand
therequestispermitted,butthedocumenthasnotchanged,the
servershouldreturn304statuscodes.304
Thestatuscodemustnotcontaintheinformationbody,which
usuallyendswiththefirstblanklineafteraheaderfield.
305UseProxy
Therequestedresourcemustbeaccessedthroughtheagent
(specifiedbytheLocationfield).TheLocationresourcegives
theproxy'sURI.
306Unused
307TemporaryRedirect
ClientError
======
400BadRequest
Becausethewrongsyntaxcausestheservertofailtounderstand
therequestinformation.
401Unauthorized
oshould
containawww-authenticateheaderfieldtospecifythe
permissionsfortherequestedresource.
402PaymentRequired
Keepastatuscode
403who
Theserveracceptstherequestbutisrejected.
404NotFound
Theserverhasfoundanyresourcesthatmatchtherequest-uri.
405MenthodNotAllowed
Therequest-lineRequestisnotallowedtopassthespecified
URI.
406NotAcceptable
407ProxyAuthenticationRequired
408therequestTimeout
Thecustomerservicesidedoesnotsubmitanyrequesttothe
serverforprocessingtime.
Another409
410Gone
411LengthRequired
Theserverrefusestoaccepttherequestwithoutdefiningthe
content-lengthfield.
412PreconditionFailed
413RequestEntityTooLarge
Theserverrefusestohandlerequestsbecausetherequestdata
vermayclose
thecurrentconnectiontopreventthecustomerservicefrom
continuingtherequest.
TheRequestURI-414TooLong
Theserverrejectsthecurrentrequestbecausethelengthof
theURIexceedstheserver'sparsingscope.
415UnsupportedMediaType
Theserverrejectsthecurrentrequestbecausetherequestdata
formatisnotsupportedbytherequestedresource.
416RequestRangeNotSatisfialbe
417ExpectationFailed
ServerError
========
500InternalServerError
Theserverencounteredanexceptionthatpreventedthe
executionofthecurrentrequest
501NotImplemented
Theserverdoesnothavethecorrespondingexecutionactionto
completethecurrentrequest.
502BadGateway
503ServiceUnavailable
Duetotemporaryfileoverload,theservercannothandlethe
currentrequest.
504GatewayTimeout
505HttpVersionNotSupported
It'sarealthing,andit'snotarealthing
/
100theContinue
101SwitchingseparateProtocols
102Processing
200OK
201Created
202Accepted
203Non-AuthoritativeInformation
204NoContent
205ResettheContent
206PartialContent
207-theStatus
226IMinformsthe
300MultipleChoices
301versionPermanently
302Found
303SeeOther
304NotModified
305UseProxy
306(Unused)
307TemporaryRedirect
400BadRequest
401Unauthorized
402PaymentRequired
403who
404NotFound
405MethodNotAllowed
406NotAcceptable
407ProxyAuthenticationRequired
408theRequestTimeout
Another409
410Gone
411LengthRequired
412PreconditionFailed
413RequestEntityTooLarge
TheRequestURI-414TooLong
415UnsupportedMediaType
416RequestedRangeNotSatisfiable
417ExpectationFailed
418I"mateapot
422UnprocessableEntity
423Locked
424FailedtheDependency
425(UnorderedCollection)
426UpgradeRequired
500InternalServerError
501NotImplemented
502BadGateway
503ServiceUnavailable
504GatewayTimeout
505HTTPVersionNotSupported
506theVariantAlsoNegotiates
507InsufficientStorage
510NotExtended
TheresponsevalueprovidedbyJavaHttpURLConnectionis
/**
*HTTPStatus-Code200:OK.
*/
PublicstaticfinalintHTTP_OK=200
/**
*HTTPStatus-Code201:Created.
*/
PublicstaticfinalintHTTP_CREATED=201
/**
*HTTPStatus-Code202:Accepted.
*/
PublicstaticfinalintHTTP_ACCEPTED=202;
/**
*theHTTPStatusCode-203:theNon-Authoritative
Information.
*/
公共静态finalinthttp_not_权威性=203;
/**
HTTPstatus-code204:没有内容。
*/
公共静态finalintHTTP_NO_CONTENT=204;
/**
HTTPstatus-code205:重置内容。
*/
公共静态finalintHTTP_RESET=205;
/**
HTTP状态代码206:部分内容。
*/
公共静态finalinthttp_?=206;
/*3xx:搬迁/重定向*/
/**
*HTTP状态代码300:多个选择。
*/
公共静态finalintHTTP_MULT_CHOICE=300;
/**
*HTTP状态代码301:永久移动。
*/
公共静态finalintHTTP_MOVED_PERM=301;
/**
HTTP状态代码302:临时重定向。
*/
公共静态finalintHTTP_MOVED_TEMP=302;
/**
*HTTP状态代码303:查看其他。
*/
公共静态finalintHTTP_SEE_OTHER=303;
/**
*HTTP状态代码304:未修改。
*/
公共静态finalintHTTP_NOT_MODIFIED=304;
/**
*HTTP状态代码305:使用代理。
*/
公共静态finalintHTTP_USE_PROXY=305;
客户错误*/
/**
*HTTP状态代码400:糟糕的请求。
*/
公共静态finalintHTTP_BAD_REQUEST=400;
/**
*HTTP状态码401:未授权。
*/
公共静态finalinthttp_未经授权=401;
/**
*HTTP状态代码402:所需支付。
*/
公共静态finalintHTTP_PAYMENT_REQUIRED=402;
/**
*HTTP状态代码403:禁止。
*/
公共静态finalinthttp_禁用=403;
/**
*HTTP状态码404:未找到。
*/
公共静态finalintHTTP_NOT_FOUND=404;
/**
*HTTP状态码405:不允许的方法。
*/
公共静态finalintHTTP_BAD_METHOD=405;
/**
HTTP状态代码406:不可接受。
*/
公共静态finalinthttp_not_可取=406;
/**
*HTTP状态代码407:所需的代理身份验证。
*/
公共静态finalintHTTP_PROXY_AUTH=407;
/**
HTTP状态代码408:请求超时。
*/
公共静态finalintHTTP_CLIENT_TIMEOUT=408;
/**
*HTTP状态代码409:冲突。
*/
公共静态finalinthttp_冲突=409;
/**
*HTTP状态代码410:消失。
*/
公共静态finalintHTTP_GONE=410;
/**
*HTTP状态码411:所需长度。
*/
公共静态finalintHTTP_LENGTH_REQUIRED=411;
/**
HTTP状态代码412:预处理失败。
*/
公共静态finalintHTTP_PRECON_FAILED=412;
/**
*HTTP状态代码413:请求实体太大。
*/
公共静态finalinthttp_entity_large=413;
/**
HTTP状态码414:请求-uri太大。
*/
公共静态finalintHTTP_REQ_TOO_LONG=414;
/**
*HTTP状态代码415:不支持的媒体类型。
*/
公共静态finalintHTTP_UNSUPPORTED_TYPE=415;
服务器错误*/
/**
*HTTP状态码500:内部服务器错误。
@弃用它是错误的,不应该存在。
*/
@Deprecated
公共静态finalintHTTP_SERVER_ERROR=500;
/**
*HTTP状态码500:内部服务器错误。
*/
公共静态finalintHTTP_INTERNAL_ERROR=500;
/**
*HTTP状态代码501:未实现。
*/
公共静态finalinthttp_not_实现=501;
/**
HTTP状态代码502:坏网关。
*/
公共静态finalintHTTP_BAD_GATEWAY=502;
/**
*HTTPstatus-code503:服务不可用。
*/
公共静态finalinthttp_无效=503;
/**
*HTTP状态代码504:网关超时。
*/
公共静态finalintHTTP_GATEWAY_TIMEOUT=504;
/**
*HTTP状态代码505:不支持HTTP版本。
*/
公共静态finalintHTTP_VERSION=505;
更多推荐
header 404
发布评论