11
Jan
08

Lista de codigos de retorno do protocolo http…

Successful
  Client Requests
200 OK
201 Created
202 Accepted
203 Non-Authorative Information
204 No Content
205 Reset Content
206 Partial Content
Client
  Request Redirected
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy
Client
  Request Errors
400 Bad Request
401 Authorization Required
402 Payment Required (not used yet)
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable (encoding)
407 Proxy Authentication Required  
408 Request Timed Out
409 Conflicting Request
410 Gone
411 Content Length Required
412 Precondition Failed
413 Request Entity Too Long
414 Request URI Too Long
415 Unsupported Media Type
Server
  Errors
500 Internal Server Error
501 Not Implemented
502 Bad Gateway  
503 Service Unavailable  
504 Gateway Timeout  
505 HTTP Version Not Supported  

Lista de respostas possiveis quando se liga a um servidor pelo protocolo http.

Quando se usa API’s fornecidas por terceiros é muito importante analisar os headers retornados pelo servidor para o resultado ser o pretendido!


Translator

Portuguese flagItalian flagKorean flagChinese (Simplified) flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flag
Russian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flag
Rumanian flagSwedish flagNorwegian flag       
By N2H

 

January 2008
M T W T F S S
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Categorias


3 Responses to “Lista de codigos de retorno do protocolo http…”


  1. 1 softcleanNo Gravatar Jan 26th, 2008 at 11:56 am

    Ainda à uns dias estava à procura disto na forma de lista… Obrigado ;)

  2. 2 dsadsadsadsaNo Gravatar Jul 5th, 2008 at 12:19 am

    hmm, nem sempre um 200 OK se verica o pretendido =)
    o mais correcto e filtrar todo o conteudo, e se se encontrar dentro do conteudo o pretendido entao nao ha problema senao! bah

    ex:

    while (my $line = ){
    if ($line =~ m/antoniocampos/g){
    print “este e o site correcto!!\n”;

  3. 3 dsadsadsadsaNo Gravatar Jul 5th, 2008 at 12:21 am

    }
    else {
    print “continue a tentar ainda nao chegou ao pretendido\n”;
    }

    isto pk um 200 OK, nao significa que a pagina que procuramos realmente existe, nao posso responder mais concretamente o pk de isso acontecer, mas ja verifiquei muitos falsos possitivos! =)

Leave a Reply