当没有参数被赋予所有接受的语言将作为数组返回: //Accept-Language:en;q=0.8,es,ptctx.acceptsLanguages();//=>["es","pt","en"] request.idempotent
句法:scgi_next_upstream错误|超时|invalid_header|http_500|http_503|http_403|http_404|http_429|non_idempotent
句法:fastcgi_next_upstream错误|超时|invalid_header|http_500|http_503|http_403|http_404|http_429|non_idempotent
句法:uwsgi_next_upstream错误|超时|invalid_header|http_500|http_503|http_403|http_404|http_429|non_idempotent
proxy_next_upstream错误|超时|invalid_header|http_500|http_502|http_503|http_504|http_403|http_404|http_429|non_idempotent
thentheresourceownerMUSTdisableordisallowthatactionwhenitisaccessedusingasaferequestmethod.FailuretodosowillresultinunfortunatesideeffectswhenautomatedprocessesperformaGEToneveryURIreferenceforthesakeoflinkmaintenance,pre-fetching,buildingasearchindex,etc. 4.2.2.幂等方法 Arequestmethodisconsidered"idempotent"iftheintendedeffectontheserverofmultipleidenticalrequestswiththatmethodisthesameastheeffectforasinglesuchrequest.Oftherequestmethodsdefinedbythisspecification
OpenSSL::SSL::SSLError:IOError,Timeout::Error=>exceptionifcount==0&&IDEMPOTENT_METHODS_.include?
themethodsOPTIONSandTRACESHOULDNOThavesideeffects,andsoareinherentlyidempotent.However,itispossiblethatasequenceofseveralrequestsisnon-idempotent